Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.1.0-beta, 3.0.0-alpha1
-
None
-
None
Description
According to https://issues.apache.org/jira/browse/HADOOP-9438,
FileSystem#mkdirs and FileContext#mkdir do not throw FileAlreadyExistsException if the directory already exist.
Some places in the mapreduce codebase assumes FileSystem#mkdirs or FileContext#mkdir throw FileAlreadyExistsException.
At least the following files are concerned:
- YarnChild.java
- JobHistoryEverntHandler.java
- HistoryFileManager.java
It would be good to re-review and patch this if needed.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-9361 Strictly define the expected behavior of filesystem APIs and write tests to verify compliance
- Closed