From 974b6f63c630791d1496ba84ed9cf1b7bfd1eec3 Mon Sep 17 00:00:00 2001 From: jingqinghe Date: Wed, 16 Sep 2020 14:44:01 +0800 Subject: [PATCH] fix bug in hdfs download test=develop --- python/paddle/distributed/fleet/utils/fs.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/paddle/distributed/fleet/utils/fs.py b/python/paddle/distributed/fleet/utils/fs.py index 2dbe5cefbb4..2c963983b3c 100644 --- a/python/paddle/distributed/fleet/utils/fs.py +++ b/python/paddle/distributed/fleet/utils/fs.py @@ -400,9 +400,6 @@ class HDFSClient(FS): # can't retry def download(self, fs_path, local_path): - if self.is_exist(local_path): - raise FSFileExistsError("{} exists".format(local_path)) - if not self.is_exist(fs_path): raise FSFileNotExistsError("{} not exits".format(fs_path)) -- GitLab