摘要: 使用client.walk()可以遍历hdfs的文件和目录,加上参数status=True可以同时返回这个文件的基本属性,指示这个文件是file还是directory,以及创建日期和修改日期 # -*- coding: utf-8 -*- from hdfs import * import os f 阅读全文
posted @ 2018-07-14 15:42 翱翔的孤鹰 阅读(3498) 评论(0) 推荐(0) 编辑
摘要: test_sh-fang20180604150605.sh{u'group': u'supergroup', u'permission': u'644', u'blockSize': 134217728, u'accessTime': 1530720024452L, u'pathSuffix': u 阅读全文
posted @ 2018-07-14 11:50 翱翔的孤鹰 阅读(810) 评论(0) 推荐(0) 编辑