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

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

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

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%)

5.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 270.1 (TOXENV=py38) 15 Jan 2020 06:12PM UTC 0
92.5
Travis Job 270.1
2 270.2 (TOXENV=py38) 15 Jan 2020 06:12PM UTC 0
92.5
Travis Job 270.2
3 270.3 (TOXENV=py37) 15 Jan 2020 06:12PM UTC 0
92.5
Travis Job 270.3
4 270.4 (TOXENV=py36) 15 Jan 2020 06:12PM UTC 0
92.5
Travis Job 270.4
5 270.5 (TOXENV=py35) 15 Jan 2020 06:12PM UTC 0
92.5
Travis Job 270.5
6 270.6 (TOXENV=py27) 15 Jan 2020 06:13PM UTC 0
92.21
Travis Job 270.6
Source Files on build 270
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #270
  • Pull Request #80
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

© 2025 Coveralls, Inc