Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.19.0
-
None
-
None
-
None
Description
If a file already exists, it takes a long time for the overwrite create to return.
fs.create(path_1, true);
sometimes takes a long time.
Instead, the code:
if (fs.exists(path_1))
fs.delete(path_1);
fs.create(path_1);
works pretty well.
Attachments
Issue Links
- relates to
-
HADOOP-5438 Merge FileSystem.create and FileSystem.append
- Closed