Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8873

Port HADOOP-8175 (Add mkdir -p flag) to branch-1

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

        1. HADOOP-8873-1.patch
          7 kB
          Akira Ajisaka
        2. HADOOP-8873-2.patch
          8 kB
          Akira Ajisaka
        3. HADOOP-8873-3.patch
          7 kB
          Akira Ajisaka
        4. HADOOP-8873-branch-1-4.patch
          7 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                eli Eli Collins
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: