Python client for Apache Hadoop® YARN API
Package documentation: python-client-for-hadoop-yarn-api.readthedocs.org
REST API documentation: hadoop.apache.org
From PyPI
pip install yarn-api-client
From Anaconda (conda forge)
conda install -c conda-forge yarn-api-client
From source code
git clone https://github.com/toidi/hadoop-yarn-api-python-client.git pushd hadoop-yarn-api-python-client python setup.py install popd
bin/yarn_client --help
alternative
python -m yarn_api_client --help
from yarn_api_client import ApplicationMaster, HistoryServer, NodeManager, ResourceManager
- 0.3.0 Release
- Add support for YARN endpoints protected by Kerberos/SPNEGO
- Moved to requests package for REST API invocation
- Remove http_con property, as connections are now managed by requests package
- 0.2.5 Release
- Fixed History REST API
- 0.2.4 Release
- Added compatibility with HA enabled Resource Manager