Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Snapshots can be allowed/disallowed on a directory via WebHdfs from users with superuser privilege.

      Description

      We should be able to allow and disallow directories for snapshotting via WebHDFS.

      1. HDFS-9057.patch
        9 kB
        Brahma Reddy Battula
      2. HDFS-9057-002.patch
        9 kB
        Brahma Reddy Battula
      3. HDFS-9057-003.patch
        7 kB
        Brahma Reddy Battula
      4. HDFS-9057-004.patch
        7 kB
        Brahma Reddy Battula

        Issue Links

          Activity

          Hide
          andrew.wang Andrew Wang added a comment -

          I've backported this additionally to branch-2 and branch-2.8.

          Show
          andrew.wang Andrew Wang added a comment - I've backported this additionally to branch-2 and branch-2.8.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2523 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2523/)
          HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2523 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2523/ ) HDFS-9057 . allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #584 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/584/)
          HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66)

          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #584 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/584/ ) HDFS-9057 . allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #653 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/653/)
          HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66)

          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #653 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/653/ ) HDFS-9057 . allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2583 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2583/)
          HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2583 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2583/ ) HDFS-9057 . allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #1376 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1376/)
          HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #1376 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1376/ ) HDFS-9057 . allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #642 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/642/)
          HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #642 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/642/ ) HDFS-9057 . allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #8775 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8775/)
          HDFS-9057. allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java
          • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8775 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8775/ ) HDFS-9057 . allow/disallow snapshots via webhdfs (Contributed by Brahma (vinayakumarb: rev 6d2332ae375e26d024358c6e75fdb3c68a781a66) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/PutOpParam.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHDFS.java
          Hide
          vinayrpet Vinayakumar B added a comment -

          Fixed one checkstyle (adding a space in PutOpParam), others are inline with other codes, to make code more readable.

          Committed to trunk.
          Thanks Brahma Reddy Battula for the contribution.
          Thanks Allen Wittenauer for reporting this jira.

          Show
          vinayrpet Vinayakumar B added a comment - Fixed one checkstyle (adding a space in PutOpParam), others are inline with other codes, to make code more readable. Committed to trunk. Thanks Brahma Reddy Battula for the contribution. Thanks Allen Wittenauer for reporting this jira.
          Hide
          vinayrpet Vinayakumar B added a comment -

          Hmm.. Yes..It's strange..

          This strange thing was due to, YETUS-170.
          As its verified manually, I think its good to go ahead

          Show
          vinayrpet Vinayakumar B added a comment - Hmm.. Yes..It's strange.. This strange thing was due to, YETUS-170 . As its verified manually, I think its good to go ahead
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Hmm.. Yes..It's strange..

          Show
          brahmareddy Brahma Reddy Battula added a comment - Hmm.. Yes..It's strange..
          Hide
          vinayrpet Vinayakumar B added a comment -

          This is little strange.

          javac passes in both JDKs, But mvn install fails with compilation error.

          Show
          vinayrpet Vinayakumar B added a comment - This is little strange. javac passes in both JDKs, But mvn install fails with compilation error.
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 7s docker + precommit patch detected.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          +1 mvninstall 3m 16s trunk passed
          +1 compile 1m 7s trunk passed with JDK v1.8.0_60
          +1 compile 1m 1s trunk passed with JDK v1.7.0_79
          +1 checkstyle 0m 22s trunk passed
          +1 mvneclipse 0m 27s trunk passed
          -1 findbugs 1m 59s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs
          +1 javadoc 1m 38s trunk passed with JDK v1.8.0_60
          +1 javadoc 2m 39s trunk passed with JDK v1.7.0_79
          -1 mvninstall 0m 28s hadoop-hdfs in the patch failed.
          +1 compile 1m 2s the patch passed with JDK v1.8.0_60
          +1 javac 1m 2s the patch passed
          +1 compile 0m 58s the patch passed with JDK v1.7.0_79
          +1 javac 0m 58s the patch passed
          -1 checkstyle 0m 23s Patch generated 3 new checkstyle issues in hadoop-hdfs-project (total was 183, now 186).
          +1 mvneclipse 0m 27s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 4m 23s the patch passed
          +1 javadoc 1m 33s the patch passed with JDK v1.8.0_60
          +1 javadoc 2m 21s the patch passed with JDK v1.7.0_79
          -1 unit 59m 36s hadoop-hdfs in the patch failed with JDK v1.8.0_60.
          +1 unit 0m 55s hadoop-hdfs-client in the patch passed with JDK v1.8.0_60.
          -1 unit 55m 40s hadoop-hdfs in the patch failed with JDK v1.7.0_79.
          +1 unit 0m 56s hadoop-hdfs-client in the patch passed with JDK v1.7.0_79.
          -1 asflicense 0m 20s Patch generated 58 ASF License warnings.
          147m 3s



          Reason Tests
          JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.namenode.TestDeleteRace
            hadoop.hdfs.server.blockmanagement.TestNodeCount
            hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes
            hadoop.hdfs.server.namenode.ha.TestEditLogsDuringFailover
            hadoop.hdfs.security.TestDelegationTokenForProxyUser
            hadoop.hdfs.TestEncryptionZonesWithKMS
            hadoop.hdfs.TestDFSStripedOutputStreamWithFailure010
            hadoop.hdfs.server.blockmanagement.TestPendingInvalidateBlock



          Subsystem Report/Notes
          Docker Client=1.7.1 Server=1.7.1 Image:test-patch-base-hadoop-date2015-10-29
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769495/HDFS-9057-004.patch
          JIRA Issue HDFS-9057
          Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile
          uname Linux e214c90dfdb6 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/patchprocess/apache-yetus-67f42f1/precommit/personality/hadoop.sh
          git revision trunk / c416999
          Default Java 1.7.0_79
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_60 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_79
          findbugs v3.0.0
          findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html
          mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
          checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project.txt
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_60.txt
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_79.txt
          unit test logs https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_60.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_79.txt
          JDK v1.7.0_79 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/13274/testReport/
          asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-asflicense-problems.txt
          modules C: hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project
          Max memory used 224MB
          Powered by Apache Yetus http://yetus.apache.org
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13274/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 7s docker + precommit patch detected. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. +1 mvninstall 3m 16s trunk passed +1 compile 1m 7s trunk passed with JDK v1.8.0_60 +1 compile 1m 1s trunk passed with JDK v1.7.0_79 +1 checkstyle 0m 22s trunk passed +1 mvneclipse 0m 27s trunk passed -1 findbugs 1m 59s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs +1 javadoc 1m 38s trunk passed with JDK v1.8.0_60 +1 javadoc 2m 39s trunk passed with JDK v1.7.0_79 -1 mvninstall 0m 28s hadoop-hdfs in the patch failed. +1 compile 1m 2s the patch passed with JDK v1.8.0_60 +1 javac 1m 2s the patch passed +1 compile 0m 58s the patch passed with JDK v1.7.0_79 +1 javac 0m 58s the patch passed -1 checkstyle 0m 23s Patch generated 3 new checkstyle issues in hadoop-hdfs-project (total was 183, now 186). +1 mvneclipse 0m 27s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 4m 23s the patch passed +1 javadoc 1m 33s the patch passed with JDK v1.8.0_60 +1 javadoc 2m 21s the patch passed with JDK v1.7.0_79 -1 unit 59m 36s hadoop-hdfs in the patch failed with JDK v1.8.0_60. +1 unit 0m 55s hadoop-hdfs-client in the patch passed with JDK v1.8.0_60. -1 unit 55m 40s hadoop-hdfs in the patch failed with JDK v1.7.0_79. +1 unit 0m 56s hadoop-hdfs-client in the patch passed with JDK v1.7.0_79. -1 asflicense 0m 20s Patch generated 58 ASF License warnings. 147m 3s Reason Tests JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.namenode.TestDeleteRace   hadoop.hdfs.server.blockmanagement.TestNodeCount   hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes   hadoop.hdfs.server.namenode.ha.TestEditLogsDuringFailover   hadoop.hdfs.security.TestDelegationTokenForProxyUser   hadoop.hdfs.TestEncryptionZonesWithKMS   hadoop.hdfs.TestDFSStripedOutputStreamWithFailure010   hadoop.hdfs.server.blockmanagement.TestPendingInvalidateBlock Subsystem Report/Notes Docker Client=1.7.1 Server=1.7.1 Image:test-patch-base-hadoop-date2015-10-29 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769495/HDFS-9057-004.patch JIRA Issue HDFS-9057 Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile uname Linux e214c90dfdb6 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/patchprocess/apache-yetus-67f42f1/precommit/personality/hadoop.sh git revision trunk / c416999 Default Java 1.7.0_79 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_60 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_79 findbugs v3.0.0 findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_60.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_79.txt unit test logs https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_60.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_79.txt JDK v1.7.0_79 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/13274/testReport/ asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13274/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project Max memory used 224MB Powered by Apache Yetus http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13274/console This message was automatically generated.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Updated the patch to fix the testfailure..

          Show
          brahmareddy Brahma Reddy Battula added a comment - Updated the patch to fix the testfailure..
          Hide
          hadoopqa Hadoop QA added a comment -
          -1 overall



          Vote Subsystem Runtime Comment
          0 reexec 0m 4s docker + precommit patch detected.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 test4tests 0m 0s The patch appears to include 1 new or modified test files.
          +1 mvninstall 3m 3s trunk passed
          +1 compile 0m 58s trunk passed with JDK v1.8.0_66
          +1 compile 0m 59s trunk passed with JDK v1.7.0_85
          +1 checkstyle 0m 21s trunk passed
          +1 mvneclipse 0m 27s trunk passed
          -1 findbugs 1m 55s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs
          +1 javadoc 1m 23s trunk passed with JDK v1.8.0_66
          +1 javadoc 2m 10s trunk passed with JDK v1.7.0_85
          -1 mvninstall 0m 28s hadoop-hdfs in the patch failed.
          +1 compile 0m 55s the patch passed with JDK v1.8.0_66
          +1 javac 0m 55s the patch passed
          +1 compile 0m 59s the patch passed with JDK v1.7.0_85
          +1 javac 0m 59s the patch passed
          -1 checkstyle 0m 21s Patch generated 3 new checkstyle issues in hadoop-hdfs-project (total was 183, now 186).
          +1 mvneclipse 0m 27s the patch passed
          +1 whitespace 0m 0s Patch has no whitespace issues.
          +1 findbugs 4m 6s the patch passed
          +1 javadoc 1m 28s the patch passed with JDK v1.8.0_66
          +1 javadoc 2m 12s the patch passed with JDK v1.7.0_85
          -1 unit 69m 48s hadoop-hdfs in the patch failed with JDK v1.8.0_66.
          +1 unit 0m 52s hadoop-hdfs-client in the patch passed with JDK v1.8.0_66.
          -1 unit 69m 34s hadoop-hdfs in the patch failed with JDK v1.7.0_85.
          +1 unit 0m 57s hadoop-hdfs-client in the patch passed with JDK v1.7.0_85.
          -1 asflicense 0m 19s Patch generated 58 ASF License warnings.
          168m 55s



          Reason Tests
          JDK v1.7.0_85 Failed junit tests hadoop.hdfs.server.namenode.ha.TestFailureToReadEdits
            hadoop.hdfs.server.blockmanagement.TestNodeCount
            hadoop.hdfs.server.balancer.TestBalancer
            hadoop.hdfs.web.TestWebHDFS
            hadoop.hdfs.TestRollingUpgrade
            hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot
            hadoop.hdfs.web.TestWebHDFS



          Subsystem Report/Notes
          Docker Client=1.7.1 Server=1.7.1 Image:test-patch-base-hadoop-date2015-10-29
          JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769243/HDFS-9057-003.patch
          JIRA Issue HDFS-9057
          Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile
          uname Linux fff039ce688a 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Build tool maven
          Personality /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/patchprocess/apache-yetus-67f42f1/precommit/personality/hadoop.sh
          git revision trunk / 65f53f2
          Default Java 1.7.0_85
          Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_85
          findbugs v3.0.0
          findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html
          mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
          checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project.txt
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt
          unit https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_85.txt
          unit test logs https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_85.txt
          JDK v1.7.0_85 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/13268/testReport/
          asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-asflicense-problems.txt
          modules C: hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project
          Max memory used 226MB
          Powered by Apache Yetus http://yetus.apache.org
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13268/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 4s docker + precommit patch detected. +1 @author 0m 0s The patch does not contain any @author tags. +1 test4tests 0m 0s The patch appears to include 1 new or modified test files. +1 mvninstall 3m 3s trunk passed +1 compile 0m 58s trunk passed with JDK v1.8.0_66 +1 compile 0m 59s trunk passed with JDK v1.7.0_85 +1 checkstyle 0m 21s trunk passed +1 mvneclipse 0m 27s trunk passed -1 findbugs 1m 55s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs +1 javadoc 1m 23s trunk passed with JDK v1.8.0_66 +1 javadoc 2m 10s trunk passed with JDK v1.7.0_85 -1 mvninstall 0m 28s hadoop-hdfs in the patch failed. +1 compile 0m 55s the patch passed with JDK v1.8.0_66 +1 javac 0m 55s the patch passed +1 compile 0m 59s the patch passed with JDK v1.7.0_85 +1 javac 0m 59s the patch passed -1 checkstyle 0m 21s Patch generated 3 new checkstyle issues in hadoop-hdfs-project (total was 183, now 186). +1 mvneclipse 0m 27s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 4m 6s the patch passed +1 javadoc 1m 28s the patch passed with JDK v1.8.0_66 +1 javadoc 2m 12s the patch passed with JDK v1.7.0_85 -1 unit 69m 48s hadoop-hdfs in the patch failed with JDK v1.8.0_66. +1 unit 0m 52s hadoop-hdfs-client in the patch passed with JDK v1.8.0_66. -1 unit 69m 34s hadoop-hdfs in the patch failed with JDK v1.7.0_85. +1 unit 0m 57s hadoop-hdfs-client in the patch passed with JDK v1.7.0_85. -1 asflicense 0m 19s Patch generated 58 ASF License warnings. 168m 55s Reason Tests JDK v1.7.0_85 Failed junit tests hadoop.hdfs.server.namenode.ha.TestFailureToReadEdits   hadoop.hdfs.server.blockmanagement.TestNodeCount   hadoop.hdfs.server.balancer.TestBalancer   hadoop.hdfs.web.TestWebHDFS   hadoop.hdfs.TestRollingUpgrade   hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot   hadoop.hdfs.web.TestWebHDFS Subsystem Report/Notes Docker Client=1.7.1 Server=1.7.1 Image:test-patch-base-hadoop-date2015-10-29 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769243/HDFS-9057-003.patch JIRA Issue HDFS-9057 Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile uname Linux fff039ce688a 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Build tool maven Personality /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/patchprocess/apache-yetus-67f42f1/precommit/personality/hadoop.sh git revision trunk / 65f53f2 Default Java 1.7.0_85 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_85 findbugs v3.0.0 findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html mvninstall https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_85.txt unit test logs https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.7.0_85.txt JDK v1.7.0_85 Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/13268/testReport/ asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13268/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-client U: hadoop-hdfs-project Max memory used 226MB Powered by Apache Yetus http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13268/console This message was automatically generated.
          Hide
          vinayrpet Vinayakumar B added a comment -

          +1, Latest revision Patch looks great.
          Pending jenkins. just triggered one in precommit.

          Show
          vinayrpet Vinayakumar B added a comment - +1, Latest revision Patch looks great. Pending jenkins. just triggered one in precommit.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Vinayakumar B uploaded patch based on your review comments.. Kindly Review.

          Show
          brahmareddy Brahma Reddy Battula added a comment - Vinayakumar B uploaded patch based on your review comments.. Kindly Review.
          Hide
          vinayrpet Vinayakumar B added a comment -

          Hi Brahma Reddy Battula,

          Thanks for updating the patch.

          For allow/disallow ops, you can also add a test like below.

          1. AllowSnapshots using webhdfs and check whether dfs.getSnapshottableDirListing() lists new snapshottable dir?
          2. DisallowSnapshots using webhdfs and check again dfs.getSnapshottableDirListing(), it should not list now.

          Rest all looks good.

          Haohui Mai, do you want to take a look?

          Show
          vinayrpet Vinayakumar B added a comment - Hi Brahma Reddy Battula , Thanks for updating the patch. For allow/disallow ops, you can also add a test like below. 1. AllowSnapshots using webhdfs and check whether dfs.getSnapshottableDirListing() lists new snapshottable dir? 2. DisallowSnapshots using webhdfs and check again dfs.getSnapshottableDirListing(), it should not list now. Rest all looks good. Haohui Mai , do you want to take a look?
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 19m 39s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 tests included 0m 0s The patch appears to include 1 new or modified test files.
          +1 javac 7m 53s There were no new javac warning messages.
          +1 javadoc 10m 9s There were no new javadoc warning messages.
          +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
          +1 checkstyle 2m 39s There were no new checkstyle issues.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 35s mvn install still works.
          +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
          +1 findbugs 4m 25s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
          +1 native 3m 15s Pre-build of native portion
          -1 hdfs tests 167m 24s Tests failed in hadoop-hdfs.
          +1 hdfs tests 0m 30s Tests passed in hadoop-hdfs-client.
              218m 28s  



          Reason Tests
          Failed unit tests hadoop.hdfs.TestLeaseRecovery2
            hadoop.hdfs.web.TestWebHDFSOAuth2
            hadoop.cli.TestHDFSCLI
          Timed out tests org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes
            org.apache.hadoop.hdfs.TestRollingUpgrade



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12761635/HDFS-9057-002.patch
          Optional Tests javadoc javac unit findbugs checkstyle
          git revision trunk / 57003fa
          hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12592/artifact/patchprocess/testrun_hadoop-hdfs.txt
          hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/12592/artifact/patchprocess/testrun_hadoop-hdfs-client.txt
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12592/testReport/
          Java 1.7.0_55
          uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12592/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 19m 39s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 tests included 0m 0s The patch appears to include 1 new or modified test files. +1 javac 7m 53s There were no new javac warning messages. +1 javadoc 10m 9s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 2m 39s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 35s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 4m 25s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 3m 15s Pre-build of native portion -1 hdfs tests 167m 24s Tests failed in hadoop-hdfs. +1 hdfs tests 0m 30s Tests passed in hadoop-hdfs-client.     218m 28s   Reason Tests Failed unit tests hadoop.hdfs.TestLeaseRecovery2   hadoop.hdfs.web.TestWebHDFSOAuth2   hadoop.cli.TestHDFSCLI Timed out tests org.apache.hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes   org.apache.hadoop.hdfs.TestRollingUpgrade Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12761635/HDFS-9057-002.patch Optional Tests javadoc javac unit findbugs checkstyle git revision trunk / 57003fa hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12592/artifact/patchprocess/testrun_hadoop-hdfs.txt hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/12592/artifact/patchprocess/testrun_hadoop-hdfs-client.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12592/testReport/ Java 1.7.0_55 uname Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12592/console This message was automatically generated.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Vinayakumar B thanks for taking a look into this issue.. Updated the patch..Kindly review..

          Show
          brahmareddy Brahma Reddy Battula added a comment - Vinayakumar B thanks for taking a look into this issue.. Updated the patch..Kindly review..
          Hide
          vinayrpet Vinayakumar B added a comment -

          Thanks Brahma Reddy Battula,

          Some comments about the patch below.

          1. Indentation should be corrected in below changes.

          +      case ALLOWSNAPSHOT : {
          +        np.allowSnapshot(fullpath);
          +        return Response.ok().type(MediaType.APPLICATION_OCTET_STREAM).build();
          +      }
          +      case DISALLOWSNAPSHOT : {
          +        np.disallowSnapshot(fullpath);
          +        return Response.ok().type(MediaType.APPLICATION_OCTET_STREAM).build();
          +      }

          2. No need of typecasting to WebHdfsFileSystem everytime in tests. WebHdfsTestUtil.getWebHdfsFileSystem(conf,WebHdfsConstants.WEBHDFS_SCHEME) returns instance of WebHdfsFileSystem itself. So you can store it as
          WebHdfsFileSystem webhdfs = WebHdfsTestUtil.getWebHdfsFileSystem(conf,WebHdfsConstants.WEBHDFS_SCHEME).
          And avoid all typecasting for allow/disallow snapshot calls.

          Show
          vinayrpet Vinayakumar B added a comment - Thanks Brahma Reddy Battula , Some comments about the patch below. 1. Indentation should be corrected in below changes. + case ALLOWSNAPSHOT : { + np.allowSnapshot(fullpath); + return Response.ok().type(MediaType.APPLICATION_OCTET_STREAM).build(); + } + case DISALLOWSNAPSHOT : { + np.disallowSnapshot(fullpath); + return Response.ok().type(MediaType.APPLICATION_OCTET_STREAM).build(); + } 2. No need of typecasting to WebHdfsFileSystem everytime in tests. WebHdfsTestUtil.getWebHdfsFileSystem(conf,WebHdfsConstants.WEBHDFS_SCHEME) returns instance of WebHdfsFileSystem itself. So you can store it as WebHdfsFileSystem webhdfs = WebHdfsTestUtil.getWebHdfsFileSystem(conf,WebHdfsConstants.WEBHDFS_SCHEME) . And avoid all typecasting for allow/disallow snapshot calls.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          -1 hdfs tests 0m 18s Tests failed in hadoop-hdfs.

          Didn't see any testfailures in report..I ran locally ,all are passed.

          Show
          brahmareddy Brahma Reddy Battula added a comment - -1 hdfs tests 0m 18s Tests failed in hadoop-hdfs. Didn't see any testfailures in report..I ran locally ,all are passed.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 19m 33s Pre-patch trunk compilation is healthy.
          +1 @author 0m 0s The patch does not contain any @author tags.
          +1 tests included 0m 0s The patch appears to include 1 new or modified test files.
          +1 javac 7m 48s There were no new javac warning messages.
          +1 javadoc 10m 18s There were no new javadoc warning messages.
          +1 release audit 0m 24s The applied patch does not increase the total number of release audit warnings.
          +1 checkstyle 2m 37s There were no new checkstyle issues.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 36s mvn install still works.
          +1 eclipse:eclipse 0m 34s The patch built with eclipse:eclipse.
          +1 findbugs 4m 37s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
          +1 native 3m 14s Pre-build of native portion
          -1 hdfs tests 0m 18s Tests failed in hadoop-hdfs.
          +1 hdfs tests 0m 28s Tests passed in hadoop-hdfs-client.
              51m 32s  



          Reason Tests
          Failed build hadoop-hdfs



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12756044/HDFS-9057.patch
          Optional Tests javadoc javac unit findbugs checkstyle
          git revision trunk / 62943b8
          hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12454/artifact/patchprocess/testrun_hadoop-hdfs.txt
          hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/12454/artifact/patchprocess/testrun_hadoop-hdfs-client.txt
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12454/testReport/
          Java 1.7.0_55
          uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
          Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12454/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 19m 33s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. +1 tests included 0m 0s The patch appears to include 1 new or modified test files. +1 javac 7m 48s There were no new javac warning messages. +1 javadoc 10m 18s There were no new javadoc warning messages. +1 release audit 0m 24s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 2m 37s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 36s mvn install still works. +1 eclipse:eclipse 0m 34s The patch built with eclipse:eclipse. +1 findbugs 4m 37s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 3m 14s Pre-build of native portion -1 hdfs tests 0m 18s Tests failed in hadoop-hdfs. +1 hdfs tests 0m 28s Tests passed in hadoop-hdfs-client.     51m 32s   Reason Tests Failed build hadoop-hdfs Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12756044/HDFS-9057.patch Optional Tests javadoc javac unit findbugs checkstyle git revision trunk / 62943b8 hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12454/artifact/patchprocess/testrun_hadoop-hdfs.txt hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/12454/artifact/patchprocess/testrun_hadoop-hdfs-client.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12454/testReport/ Java 1.7.0_55 uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/12454/console This message was automatically generated.
          Hide
          brahmareddy Brahma Reddy Battula added a comment -

          Implemented allow/disallow for webhdfs and uploaded patch..Kindly review the same.Thanks.

          Show
          brahmareddy Brahma Reddy Battula added a comment - Implemented allow/disallow for webhdfs and uploaded patch..Kindly review the same.Thanks.

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              aw Allen Wittenauer
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development