diff --git a/python/paddle/distributed/fleet/utils/fs.py b/python/paddle/distributed/fleet/utils/fs.py index 2dbe5cefbb4944e219989358ebeb0c321f942551..2c963983b3cea3612baa3e531d96ee33a58e72ad 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))