Skip to content

AUGxhub/libpyhdfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

				libpyhdfs

  What is it?
  -----------
  
  libpyhdfs is a Python extension module which wraps the C API in libhdfs to
  access Hadoop file system.

  Sample usage:
	#!/usr/bin/env python
	import pyhdfs

	fs = pyhdfs.connect("192.168.1.1", 9000)
	pyhdfs.get(fs, "/path/to/remote-src-file", "/path/to/local-file")

	f = pyhdfs.open(fs, "/test/xxx", "w")
	pyhdfs.write(fs, f, "fuck\0gfw\n")
	pyhdfs.close(fs, f)

	pyhdfs.disconnect(fs)


  Installation
  ------------

  Please see the file called INSTALL.
  

About

Automatically exported from code.google.com/p/libpyhdfs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published