/pyWebHdfs

Python module for HDFS REST API

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

pyWebHdfs

pyWebHdfs is the Python module for interaction with HDFS (Hadoop Distributed File System). Besides standard WebHDFS operations the module contents UNIX-like operations such us “ls”, “cp”, “mkdir”, etc.

How to use

from pyWebHdfs import WebHdfs
hdfs = WebHdfs("localhost")
hdfs.ls("/path/to/dir")

Helpful links

More documentation about WebHDFS REST API