丁云鹏 il y a 5 mois
Parent
commit
df2f32dd1e

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

@@ -18,7 +18,7 @@ class MyHDFSClient(HDFSClient):
             if len(arr) != 8:
                 continue
 
-            p = os.path.basename(arr[7])
+            p = arr[7].strip()
             if arr[0][0] == 'd':
                 dirs.append(p)
             else: