Skip to main content

Python client for Hadoop® YARN API

Project description

Python client for Apache Hadoop® YARN API

Latest Version Travis CI build status Latest documentation status Test coverage

Package documentation: python-client-for-hadoop-yarn-api.readthedocs.org

REST API documentation: hadoop.apache.org

Installation

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

Usage

CLI interface

bin/yarn_client --help

alternative

python -m yarn_api_client --help

Programmatic interface

from yarn_api_client import ApplicationMaster, HistoryServer, NodeManager, ResourceManager

Changelog

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yarn-api-client-0.3.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

yarn_api_client-0.3.0-py2.py3-none-any.whl (18.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file yarn-api-client-0.3.0.tar.gz.

File metadata

  • Download URL: yarn-api-client-0.3.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.1 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.4

File hashes

Hashes for yarn-api-client-0.3.0.tar.gz
Algorithm Hash digest
SHA256 dd87c83e324e6fd141bb0e0731440ae9b49e186549c39a72c8d3cb1355044c90
MD5 48395a5110feb9e3718986d280ec6346
BLAKE2b-256 7e6498fc3b50d579d4692bb28f871de6ac0a359054d00beaac8bcd3475e2c84a

See more details on using hashes here.

Provenance

File details

Details for the file yarn_api_client-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: yarn_api_client-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.4.1 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.4

File hashes

Hashes for yarn_api_client-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ed9f8ded92d5cc7b07c4fc94185e2013a0c139c2b0826f55e84154a22ec2213
MD5 d354d19929bef5364ee1cd53d83d92c6
BLAKE2b-256 488966503864e8880e6e09ddc1f4e906882c53b1042fdbc5b9b642b352724ab0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page