首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > wrapper libhdfs Python for

wrapper libhdfs Python for

  • 资源大小:37.47 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python hadoop hdfs

资 源 简 介

libpyhdfs is a Python extension module which wraps the C API in libhdfs to access HDFS (Hadoop file system). Sample usage: ``` 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, "fuckgfw ") pyhdfs.close(fs, f) pyhdfs.disconnect(fs) ``` see APIs page for the supported APIs. see INSTALL page for installation information.
VIP VIP
0.217328s