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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.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

        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

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

              Dates

                Created:
                Updated:
                Resolved: