未验证 提交 ac87d4e6 编写于 作者: B Bai Yifan 提交者: GitHub

fix hdfs.download, test=develop (#20907)

上级 59bcdc8a
......@@ -44,10 +44,10 @@ _logger = get_logger(
class HDFSClient(object):
"""
A tool of HDFS
A tool of HDFS
Args:
hadoop_home (string): hadoop_home
hadoop_home (string): hadoop_home
configs (dict): hadoop config, it is a dict, please contain \
key "fs.default.name" and "hadoop.job.ugi"
Can be a float value
......@@ -467,7 +467,7 @@ class HDFSClient(object):
self.make_local_dirs(local_path)
all_files = client.ls(hdfs_path)
all_files = self.ls(hdfs_path)
procs = []
for i in range(multi_processes):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册