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

toidi / hadoop-yarn-api-python-client / 266 / 1
93%
master: 93%

Build:
DEFAULT BRANCH: master
Ran 14 Jan 2020 12:05AM 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

14 Jan 2020 12:05AM UTC coverage: 92.544%. First build
TOXENV=py38

Pull #80

travis-ci

Kevin Bates
Enable logging for all components, remove print stmts

This change creates a logger under the single name 'yarn_api_client'.
It is made available to components via the accessor method: apiLogger().
The default logging level is INFO and the level, as well as the
log and date formats can be modified via the environment variables
YARN_API_CLIENT_LOG_LEVEL, YARN_API_CLIENT_LOG_FORMAT, and
YARN_API_CLIENT_DATE_FORMAT, respectively.

Since the urllib3.connectionpool module frequently logs things under INFO
- which should be under DEBUG - I've set its log level to WARNING and
allowed it too to be adjusted via an environment variable (URLLIB_LOG_LEVEL).

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

633 of 684 relevant lines covered (92.54%)

0.93 hits per line

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