forked from stattrak-dragonlore/libpyhdfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Automatically exported from code.google.com/p/libpyhdfs
License
Notifications
You must be signed in to change notification settings
jun-wen/libpyhdfs
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commit | ||||
Repository files navigation
libpyhdfs
==================================================
Introduction
--------------------------------------------------
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-dst-file")
f = pyhdfs.open(fs, "/user/wormtongue/quotes.txt", "w")
pyhdfs.write(fs, f, "Why do you lay these troubles on an already troubled mind?")
pyhdfs.close(fs, f)
pyhdfs.disconnect(fs)
Installation
--------------------------------------------------
Please see the file called INSTALL.
About
Automatically exported from code.google.com/p/libpyhdfs
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C 89.1%
- Python 10.9%