Skip to main content
# WebHDFS Python Client Implementation

WebHDFS is REST-API to HDFS. To facilitate access to WebHDFS from Python, webhdfs-py was developed. The library can easily be installed via easy_install or pip:

easy_install webhdfs

Webhdfs-py has no further dependencies and solely relies on the Python standard library. Similar to the Python os package, webhdfs-py provides basic capabilities like the creation/listing and deletion of directories on files.

## Hadoop configuration

Ensure that WebHDFS is enabled in the `hdfs-site.xml`:

Relevant properties:

<property>
<name>dfs.webhdfs.enabled</name>
<value>true</value>
</property>

see <http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/WebHDFS.html>


## Limitations

* Kerberos security not supported

Metadata

Release files for WebHDFS 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for WebHDFS 0.2.0
File Size Uploaded Provenance Actions
WebHDFS-0.2.0.tar.gz 3.7 kB Without provenance Details for WebHDFS-0.2.0.tar.gz

Release files / WebHDFS-0.2.0.tar.gz

Download URL WebHDFS-0.2.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
21bf2c1cc59cbefb903834b5b22be12cfe761b27a51711fc2a69472dbace4b2a
BLAKE2b-256 checksum
How to use checksums
55b110bd31afd91217e203f0c1dd9f538b96b9d38b433b6eb63124b663c647ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for WebHDFS 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page