Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
Reviewed
-
FsShell mkdir now accepts a -p flag. Like unix, mkdir -p will not fail if the directory already exists. Unlike unix, intermediate directories are always created, regardless of the flag, to avoid incompatibilities.
Description
Per HADOOP-8551 let's port the mkdir -p option to branch-1 for a 1.x release to help users transition to the new shell behavior. In Hadoop 2.x mkdir currently requires the -p option to create parent directories but a program that specifies it won't work on 1.x since it doesn't support this option.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-8551 fs -mkdir creates parent directories without the -p option
- Closed
- relates to
-
HADOOP-8175 Add mkdir -p flag
- Resolved