remote: hdfs: fix typos

This commit is contained in:
Ruslan Kuprieiev
2019-03-13 12:16:38 +02:00
committed by GitHub
parent d5e5527409
commit 175ec76063
+2 -2
View File
@@ -123,7 +123,7 @@ class RemoteHDFS(RemoteBase):
user=to_info["user"],
)
tmp_file = tmp_fname(to_info["user"])
tmp_file = tmp_fname(to_info["path"])
self.hadoop_fs(
"copyFromLocal {} {}".format(from_info["path"], tmp_file),
@@ -160,7 +160,7 @@ class RemoteHDFS(RemoteBase):
if not os.path.exists(dname):
os.makedirs(dname)
tmp_file = tmp_fname(to_info["user"])
tmp_file = tmp_fname(to_info["path"])
self.hadoop_fs(
"copyToLocal {} {}".format(from_info["path"], tmp_file),