yarn-api-client
Python client for Hadoop® YARN API
Decision gist · record as of 2026-08-14
Yes, if you are working with Hadoop 3.2.1, 3.3.0, or 3.3.1 and need programmatic YARN API access from Python. The package is stable, has no known vulnerabilities, and low install friction. However, do not install if you require active maintenance, bug fixes, or compatibility with newer Hadoop versions—the project is abandoned and has not been updated since 2022-09-26. Verify that your Hadoop version is explicitly supported before committing to it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Hadoop YARN cluster accessible at the specified endpoint.
- Kerberos/SPNEGO authentication requires optional dependencies (requests_kerberos or gssapi) installed separately and valid Kerberos tickets in system cache.
- Low install friction with a single dependency (requests).
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely provided you retain the license notice.
last release 2021-11-16 (1732 days) · last repo commit 2022-09-26 · 109 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 250,373 downloads/mo, #8,633 on PyPI
Alternatives
Verify before relying
pip install yarn-api-client
from yarn_api_client import ResourceManager
rm = ResourceManager('https://127.0.0.2:5678')
cluster_info = rm.cluster_information()- Whether the package works reliably with Hadoop versions beyond 3.3.1 or with vendor variants like Hortonworks
- Current state of the CLI interface (documented as outdated and broken)
- Whether the package has been tested or used successfully in production since its last release in November 2021
What it is and what it does
yarn-api-client is a Python wrapper around the Apache Hadoop YARN REST API, allowing programmatic access to cluster resources, job submission, application monitoring, and node management. It abstracts away HTTP details and provides classes like ResourceManager, ApplicationMaster, HistoryServer, and NodeManager that map to YARN's core components.
The package supports optional authentication via SimpleAuth, Kerberos/SPNEGO (through requests_kerberos or gssapi), and proxy configuration. It is designed for Python 3.6 through 3.10 and has low install friction, depending only on requests. However, it is no longer actively maintained—the last release was in November 2021 and the repository shows no commits since September 2022. Compatibility is explicitly tested only against Hadoop 3.2.1, 3.3.0, and 3.3.1; other versions may have API mismatches or missing functionality.
Use it for
- Query cluster resource availability and capacity before submitting Hadoop jobs programmatically
- Monitor running YARN applications and retrieve job status, logs, and performance metrics from a Python service
- Manage application lifecycle (submit, kill, track) in Kerberized Hadoop environments via Python automation
- Build dashboards or reporting tools that aggregate YARN cluster state across multiple resource managers
- Integrate Hadoop job submission and tracking into Python-based data pipelines or orchestration frameworks
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working with Hadoop 3.2.1, 3.3.0, or 3.3.1 and need programmatic YARN API access from Python.
The package is stable, has no known vulnerabilities, and low install friction. However, do not install if you require active maintenance, bug fixes, or compatibility with newer Hadoop versions—the project is abandoned and has not been updated since 2022-09-26. Verify that your Hadoop version is explicitly supported before committing to it.
Install
yarn-api-client on PyPI
Before you install
Low install friction with a single dependency (requests). However, the package is in abandoned maintenance status with no releases since 2021-11-16. The last commit was 2022-09-26. Compatibility is explicitly limited to Apache Hadoop 3.2.1, 3.3.0, and 3.3.1; other versions may have API differences or broken functionality.
Requires a running Hadoop YARN cluster accessible at the specified endpoint. Kerberos/SPNEGO authentication requires optional dependencies (requests_kerberos or gssapi) installed separately and valid Kerberos tickets in system cache.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute this package freely provided you retain the license notice.
Quickstart
pip install yarn-api-client
from yarn_api_client import ResourceManager
rm = ResourceManager('https://127.0.0.2:5678')
cluster_info = rm.cluster_information()
Verify before relying
- Whether the package works reliably with Hadoop versions beyond 3.3.1 or with vendor variants like Hortonworks
- Current state of the CLI interface (documented as outdated and broken)
- Whether the package has been tested or used successfully in production since its last release in November 2021
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagerequests |
| Maintenance | Abandoned 1,732 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 250,373 / month, #8,633 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: System :: Distributed Computing |
Evidence: yarn_api_client-1.0.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hadoop yarn api client”
- yarn-api-clientPython client library for querying and managing Apache Hadoop YARN…
- snakebite-py3Provides a pure Python HDFS client library and command-line interface…
- google-cloud-dataprocA Python client library for managing Hadoop-based clusters and jobs…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also hdfs · google-cloud-dataproc · snakebite-py3 · azure-mgmt-hdinsight · upcloud-api · redis-py-cluster · trino · ipyparallel · scrapinghub · azure-mgmt-servicefabric