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

toidi / hadoop-yarn-api-python-client / 270 / 2
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 15 Jan 2020 06:12PM UTC
Files 11
Run time 1s
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

15 Jan 2020 06:12PM UTC coverage: 92.5%. First build
TOXENV=py38

Pull #80

travis-ci

Kevin Bates
Enable logging for all components, remove print stmts

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>
Pull Request #80:

629 of 680 relevant lines covered (92.5%)

0.93 hits per line

Source Files on job 270.2 (TOXENV=py38)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 221
  • Travis Job 270.2
  • e0912041 on github
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