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  阅读(193)  评论(0)    收藏  举报