Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.24.0
    • Fix Version/s: 0.23.2
    • Component/s: fs
    • Labels:
      None
    • 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 at this time.

      Description

      Users require the ability to create a directory iff it doesn't exist. Currently, running FsShell's mkdir twice will result in an already exists error. The unix mkdir -p flag won't fail if the directory already exists. Per parent jira, pig project would also like this feature.

      (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

      1. HADOOP-8175.patch
        1 kB
        Daryn Sharp
      2. HADOOP-8175-2.patch
        2 kB
        Daryn Sharp
      3. HADOOP-8175-2.patch
        3 kB
        Daryn Sharp

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1022 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1022/)
          HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1022 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1022/ ) HDFS-3104 . Add tests for HADOOP-8175 . Contributed by Daryn Sharp (Revision 1301665) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #987 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/987/)
          HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #987 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/987/ ) HDFS-3104 . Add tests for HADOOP-8175 . Contributed by Daryn Sharp (Revision 1301665) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #1899 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1899/)
          HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

          Result = ABORTED
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1899 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1899/ ) HDFS-3104 . Add tests for HADOOP-8175 . Contributed by Daryn Sharp (Revision 1301665) Result = ABORTED szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #1891 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1891/)
          HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1891 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1891/ ) HDFS-3104 . Add tests for HADOOP-8175 . Contributed by Daryn Sharp (Revision 1301665) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #1965 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1965/)
          HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
          Files :

          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1965 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1965/ ) HDFS-3104 . Add tests for HADOOP-8175 . Contributed by Daryn Sharp (Revision 1301665) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1021 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1021/)
          HADOOP-8175. Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303)
          Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)
          HADOOP-8175. FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273)

          Result = FAILURE
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1021 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1021/ ) HADOOP-8175 . Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303) Revert previous commit r1301273 for HADOOP-8175 . (Revision 1301282) HADOOP-8175 . FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273) Result = FAILURE szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-0.23-Build #227 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/227/)
          svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

          Result = FAILURE
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #227 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/227/ ) svn merge -c 1301303 from trunk for HADOOP-8175 . (Revision 1301305) Result = FAILURE szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Build #199 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/199/)
          svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #199 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/199/ ) svn merge -c 1301303 from trunk for HADOOP-8175 . (Revision 1301305) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #986 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/986/)
          HADOOP-8175. Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303)
          Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)
          HADOOP-8175. FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #986 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/986/ ) HADOOP-8175 . Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303) Revert previous commit r1301273 for HADOOP-8175 . (Revision 1301282) HADOOP-8175 . FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #1893 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1893/)
          HADOOP-8175. Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303)

          Result = ABORTED
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1893 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1893/ ) HADOOP-8175 . Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303) Result = ABORTED szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-0.23-Commit #697 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/697/)
          svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Commit #697 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/697/ ) svn merge -c 1301303 from trunk for HADOOP-8175 . (Revision 1301305) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Commit #680 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/680/)
          svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Commit #680 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/680/ ) svn merge -c 1301303 from trunk for HADOOP-8175 . (Revision 1301305) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-0.23-Commit #689 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/689/)
          svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Common-0.23-Commit #689 (See https://builds.apache.org/job/Hadoop-Common-0.23-Commit/689/ ) svn merge -c 1301303 from trunk for HADOOP-8175 . (Revision 1301305) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305 Files : /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #1885 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1885/)
          HADOOP-8175. Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1885 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1885/ ) HADOOP-8175 . Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #1959 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1959/)
          HADOOP-8175. Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1959 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1959/ ) HADOOP-8175 . Add -p option to mkdir in FsShell. Contributed by Daryn Sharp (Revision 1301303) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml
          Hide
          Tsz Wo Nicholas Sze added a comment -

          +1 The latest patch look good.

          I have committed this. Thanks, Daryn!

          Show
          Tsz Wo Nicholas Sze added a comment - +1 The latest patch look good. I have committed this. Thanks, Daryn!
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #1892 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1892/)
          Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)

          Result = ABORTED
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1892 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1892/ ) Revert previous commit r1301273 for HADOOP-8175 . (Revision 1301282) Result = ABORTED szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12518579/HADOOP-8175-2.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 4 new or modified tests.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests:
          org.apache.hadoop.fs.viewfs.TestViewFsTrash

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/718//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/718//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12518579/HADOOP-8175-2.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 4 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.fs.viewfs.TestViewFsTrash +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/718//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/718//console This message is automatically generated.
          Hide
          Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12518579/HADOOP-8175-2.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 4 new or modified tests.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in .

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/716//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/716//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12518579/HADOOP-8175-2.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 4 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/716//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/716//console This message is automatically generated.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #1891 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1891/)
          HADOOP-8175. FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273)

          Result = ABORTED
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1891 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1891/ ) HADOOP-8175 . FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273) Result = ABORTED szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #1883 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1883/)
          Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1883 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1883/ ) Revert previous commit r1301273 for HADOOP-8175 . (Revision 1301282) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Hide
          Daryn Sharp added a comment -

          Update usage test. Didn't realize they weren't in hdfs anymore, kudos to whoever moved them!

          Show
          Daryn Sharp added a comment - Update usage test. Didn't realize they weren't in hdfs anymore, kudos to whoever moved them!
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12518572/HADOOP-8175-2.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests:
          org.apache.hadoop.cli.TestCLI
          org.apache.hadoop.fs.viewfs.TestViewFsTrash

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/715//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/715//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12518572/HADOOP-8175-2.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.cli.TestCLI org.apache.hadoop.fs.viewfs.TestViewFsTrash +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/715//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/715//console This message is automatically generated.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #1957 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1957/)
          Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)
          HADOOP-8175. FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1957 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1957/ ) Revert previous commit r1301273 for HADOOP-8175 . (Revision 1301282) HADOOP-8175 . FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #1882 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1882/)
          HADOOP-8175. FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273)

          Result = SUCCESS
          szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1882 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1882/ ) HADOOP-8175 . FsShell: Add -p option to mkdir. Contributed by Daryn Sharp (Revision 1301273) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
          Hide
          Daryn Sharp added a comment -

          Update usage & description.

          Show
          Daryn Sharp added a comment - Update usage & description.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          Oops, we forgot to update the usage and description of mkdir.

          Show
          Tsz Wo Nicholas Sze added a comment - Oops, we forgot to update the usage and description of mkdir.
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12518547/HADOOP-8175.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests:
          org.apache.hadoop.fs.viewfs.TestViewFsTrash

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/714//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/714//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12518547/HADOOP-8175.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed these unit tests: org.apache.hadoop.fs.viewfs.TestViewFsTrash +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/714//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/714//console This message is automatically generated.
          Hide
          Tsz Wo Nicholas Sze added a comment -

          > ... But I am not an HDFS committer, ...

          Hey Robert, this indeed belongs to COMMON since FileSystem and FsShell are in COMMON. Please feel free to commit it next time.

          +1 patch looks good.

          Show
          Tsz Wo Nicholas Sze added a comment - > ... But I am not an HDFS committer, ... Hey Robert, this indeed belongs to COMMON since FileSystem and FsShell are in COMMON. Please feel free to commit it next time. +1 patch looks good.
          Hide
          Robert Joseph Evans added a comment -

          Oh 1 other thing which is very minor, You have a TODO in your code. Please be sure to file a follow up JIRA for it, or remove the TODO.

          Show
          Robert Joseph Evans added a comment - Oh 1 other thing which is very minor, You have a TODO in your code. Please be sure to file a follow up JIRA for it, or remove the TODO.
          Hide
          Robert Joseph Evans added a comment -

          I like the patch. The tests are part of HDFS-3104, I looked at them too and I think they look good. +1. But I am not an HDFS committer, just MapReduce and common, so it might be best to get an HDFS committer to put in both.

          Show
          Robert Joseph Evans added a comment - I like the patch. The tests are part of HDFS-3104 , I looked at them too and I think they look good. +1. But I am not an HDFS committer, just MapReduce and common, so it might be best to get an HDFS committer to put in both.

            People

            • Assignee:
              Daryn Sharp
              Reporter:
              Daryn Sharp
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development