丁云鹏 5 miesięcy temu
rodzic
commit
6a59107aa3

+ 1 - 1
recommend-model-produce/src/main/python/tools/utils/static_ps/reader_helper_hdfs.py

@@ -85,7 +85,7 @@ def get_file_list(data_path, config):
     ret, out = hdfs_client._run_cmd(cmd, redirect_stderr=True, retry_times=1)
     logger.info("ret: {} out: {}".format(ret, out))
     cmd = "ls " + data_path
-    ret, lines = super()._run_cmd(cmd)
+    ret, lines = hdfs_client._run_cmd(cmd)
     logger.info("ret: {} out: {}".format(ret, out))
 
     dirs,file_list = hdfs_client.ls_dir(data_path)