https://github.com/lresende/yarn-client
Python client for Apache Hadoop® YARN API
https://github.com/lresende/yarn-client
Last synced: 7 months ago
JSON representation
Python client for Apache Hadoop® YARN API
- Host: GitHub
- URL: https://github.com/lresende/yarn-client
- Owner: lresende
- License: bsd-3-clause
- Created: 2017-03-20T17:29:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-12T14:48:40.000Z (over 8 years ago)
- Last Synced: 2025-01-17T09:36:51.110Z (9 months ago)
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=============================
hadoop-yarn-api-python-client
=============================Python client for Hadoop® YARN API
.. image:: https://coveralls.io/repos/toidi/hadoop-yarn-api-python-client/badge.png
:target: https://coveralls.io/r/toidi/hadoop-yarn-api-python-client
:alt: Test coverage.. image:: https://pypip.in/version/yarn-api-client/badge.png
:target: https://pypi.python.org/pypi/yarn-api-client/
:alt: Latest Version.. image:: https://pypip.in/download/yarn-api-client/badge.png
:target: https://pypi.python.org/pypi//yarn-api-client/
:alt: Downloads.. image:: https://travis-ci.org/toidi/hadoop-yarn-api-python-client.svg?branch=master
:target: https://travis-ci.org/toidi/hadoop-yarn-api-python-client
:alt: Travis CI build status.. image:: https://caniusepython3.com/project/yarn-api-client.svg
:target: https://caniusepython3.com/project/yarn-api-client
:alt: Python 3 portPackage documentation: python-client-for-hadoop-yarn-api.readthedocs.org_
REST API documentation: hadoop.apache.org_
------------
Installation
------------From PyPI
::
pip install 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
======================.. code-block:: python
from yarn_api_client import ApplicationMaster, HistoryServer, NodeManager, ResourceManager
.. _python-client-for-hadoop-yarn-api.readthedocs.org: http://python-client-for-hadoop-yarn-api.readthedocs.org/en/latest/
.. _hadoop.apache.org: http://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/WebServicesIntro.html