/libpyhdfs

Python3 extension module which wraps the C API in libhdfs to access Hadoop file system

Primary LanguageCApache License 2.0Apache-2.0

Fix it to compatiable with python3.

  original introduction [libpyhdfs](https://github.com/jdowner/libpyhdfs)
  ==================================================

  Introduction
  --------------------------------------------------

  libpyhdfs is a Python3 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.