Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.23.3, 2.0.0-alpha, 3.0.0-alpha1
-
None
-
Incompatible change
-
FsShell's "mkdir" no longer implicitly creates all non-existent parent directories. The command adopts the posix compliant behavior of requiring the "-p" flag to auto-create parent directories.
Description
hadoop fs -mkdir foo/bar will work even if bar is not present. It should only work if -p is given and foo is not present.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-8854 Document backward incompatible changes between hadoop-1.x and 2.x
- Resolved
-
HADOOP-8873 Port HADOOP-8175 (Add mkdir -p flag) to branch-1
- Resolved