Skip to content

semk/HadoopFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

from hadoopfs.gen_py.ttypes import Pathname
from hadoopfs import HDFSClient

# Create HDFS connection
client = HDFSClient('127.0.0.1', 9000)

# Define a path
path = Pathname('/test')
# Check whether 'path' exists
print client.exists(path)
# Close the connection
client.close()

About

Thrift based Client library for Hadoop Distributed FileSystem (HDFS) <http://hadoop.apache.org/hdfs>

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published