Skip to main content

HDFS Python client based on WebHDFS REST API

Project description

# 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

Project details


Download files

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

Files for WebHDFS, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size WebHDFS-0.2.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page