• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

toidi / hadoop-yarn-api-python-client / 271
93%

Build:
DEFAULT BRANCH: master
Ran 20 Jan 2020 11:17PM UTC
Jobs 6
Files 11
Run time 51s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
271

push

travis-ci

Luciano Resende
Enable logging for all components, remove print stmts (#80)

This change enables a logger for each module of yarn-api-client.
By default, nothing will be logged unless the calling application has
configured logging.  Once configured, entries will be logged relative
to the configured log level. The calling application is also responsible
for specifying the appropriate log formats, etc.

An accessor method, get_logger(logger_name), has been created in case we
need to add configuration for the loggers.  In those cases, we'd probably
configure the logger "yarn_api_client", so that each of the submodule
loggers would inherit from that logger.  Likewise, applications can
configure "yarn_api_client" themselves and those changes will be picked
up by the individual loggers.

The previous INFO log statement has been changed to DEBUG and I've
added timing results for the request. In addition, the previous print
statements have been replaced with calls to apiLogger().warning().

Fixes: #73

Co-authored-by: Dmitry Romanenko <Dmitry@Romanenko.in>

629 of 680 relevant lines covered (92.5%)

5.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 271.1 (TOXENV=py38) 20 Jan 2020 11:17PM UTC 0
92.5
Travis Job 271.1
2 271.2 (TOXENV=py38) 20 Jan 2020 11:17PM UTC 0
92.5
Travis Job 271.2
3 271.3 (TOXENV=py37) 20 Jan 2020 11:17PM UTC 0
92.5
Travis Job 271.3
4 271.4 (TOXENV=py36) 20 Jan 2020 11:17PM UTC 0
92.5
Travis Job 271.4
5 271.5 (TOXENV=py35) 20 Jan 2020 11:17PM UTC 0
92.5
Travis Job 271.5
6 271.6 (TOXENV=py27) 20 Jan 2020 11:17PM UTC 0
92.21
Travis Job 271.6
Source Files on build 271
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #271
  • 159f6929 on github
  • Prev Build on master (#265)
  • Next Build on master (#273)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc