yarnlog
Download Apache Hadoop YARN log to your local machine.
Installation
$ pip install yarnlog
Usage
$ yarnlog <YARN_URL>
Development
Set up development environment
I use Poetry to manage build process and dependencies.
$ poetry install
$ source $(poetry env info --path)/bin/activate
Debug yarnlog locally
$ poetry run yarnlog
Run tests
$ pytest
# coverage
$ pytest --cov=yarnlog tests
# coverage with html report
$ pytest --cov=yarnlog --cov-report html:htmlcov tests