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-kenny

From Anaconda (conda forge)

conda install -c conda-forge yarn-api-client-kenny

From source code

git clone https://github.com/71nn/hadoop-yarn-api-python-client
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, TimelineServer

Changelog

0.3.2 Release
  • Add support for TimelineServer

0.3.1 Release
  • Fix cluster_application_kill API

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-kenny-0.3.2.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file yarn-api-client-kenny-0.3.2.tar.gz.

File metadata

  • Download URL: yarn-api-client-kenny-0.3.2.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/34.3.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1

File hashes

Hashes for yarn-api-client-kenny-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b223e905961d67652f52e499061987c9ea66f26dc4b26dc0e518c59d3ad9902e
MD5 69e78164be4185009d47ab1fbef7ee67
BLAKE2b-256 c40333ba6b0a7e5d7be42358dd4a907d438c8db3927698ed13291e49ce2035b7

See more details on using hashes here.

Supported by

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