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

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

Build:
DEFAULT BRANCH: master
Ran 14 Jan 2020 12:05AM UTC
Jobs 6
Files 11
Run time 52s
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
266

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

5.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 266.1 (TOXENV=py38) 14 Jan 2020 12:05AM UTC 0
92.54
Travis Job 266.1
2 266.2 (TOXENV=py38) 14 Jan 2020 12:05AM UTC 0
92.54
Travis Job 266.2
3 266.3 (TOXENV=py37) 14 Jan 2020 12:05AM UTC 0
92.54
Travis Job 266.3
4 266.4 (TOXENV=py36) 14 Jan 2020 12:05AM UTC 0
92.54
Travis Job 266.4
5 266.5 (TOXENV=py35) 14 Jan 2020 12:05AM UTC 0
92.54
Travis Job 266.5
6 266.6 (TOXENV=py27) 14 Jan 2020 12:06AM UTC 0
92.25
Travis Job 266.6
Source Files on build 266
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #266
  • 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