python操作hdfs

#coding=utf-8

import hdfs
client = hdfs.Client("http://10.1.58.32:50070")
print client.list('/input')
posted @ 2017-11-26 14:09  TIMLONG  阅读(183)  评论(0编辑  收藏  举报