Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-9336

deleteSnapshot throws NPE when snapshotname is null

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      java.lang.NullPointerException
      	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$DeleteSnapshotRequestProto$Builder.setSnapshotName(ClientNamenodeProtocolProtos.java:17509)
      	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.deleteSnapshot(ClientNamenodeProtocolTranslatorPB.java:1005)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:255)
      	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:103)
      	at com.sun.proxy.$Proxy15.deleteSnapshot(Unknown Source)
      	at org.apache.hadoop.hdfs.DFSClient.deleteSnapshot(DFSClient.java:2106)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$37.doCall(DistributedFileSystem.java:1660)
      	at org.apache.hadoop.hdfs.DistributedFileSystem$37.doCall(DistributedFileSystem.java:1)
      	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.deleteSnapshot(DistributedFileSystem.java:1677)
      	at org.apache.hadoop.hdfs.web.TestWebHDFS.testWebHdfsAllowandDisallowSnapshots(TestWebHDFS.java:380)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      
      1. HDFS-9336-004.patch
        4 kB
        Brahma Reddy Battula
      2. HDFS-9336-003.patch
        4 kB
        Brahma Reddy Battula
      3. HDFS-9336-002.patch
        2 kB
        Brahma Reddy Battula
      4. HDFS-9336.patch
        2 kB
        Brahma Reddy Battula

        Activity

        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Thanks a lot Akira Ajisaka for reviewing and committing this!!!

        Show
        brahmareddy Brahma Reddy Battula added a comment - Thanks a lot Akira Ajisaka for reviewing and committing this!!!
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #653 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/653/)
        HDFS-9336. deleteSnapshot throws NPE when snapshotname is null. (aajisaka: rev 1c05393b51748033279bff31dbc5c5cae7fc3a86)

        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeRpcServerMethods.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #653 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/653/ ) HDFS-9336 . deleteSnapshot throws NPE when snapshotname is null. (aajisaka: rev 1c05393b51748033279bff31dbc5c5cae7fc3a86) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeRpcServerMethods.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #8902 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8902/)
        HDFS-9336. deleteSnapshot throws NPE when snapshotname is null. (aajisaka: rev 1c05393b51748033279bff31dbc5c5cae7fc3a86)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeRpcServerMethods.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8902 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8902/ ) HDFS-9336 . deleteSnapshot throws NPE when snapshotname is null. (aajisaka: rev 1c05393b51748033279bff31dbc5c5cae7fc3a86) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeRpcServerMethods.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Committed this to trunk, branch-2, and branch-2.8. Thanks Brahma Reddy Battula for the contribution!

        Show
        ajisakaa Akira Ajisaka added a comment - Committed this to trunk, branch-2, and branch-2.8. Thanks Brahma Reddy Battula for the contribution!
        Hide
        ajisakaa Akira Ajisaka added a comment -

        +1. I ran all the failed test on JDK7 and they passed locally.

        Show
        ajisakaa Akira Ajisaka added a comment - +1. I ran all the failed test on JDK7 and they passed locally.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 0s Docker mode activated.
        +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 11m 3s trunk passed
        +1 compile 1m 17s trunk passed with JDK v1.8.0_66
        +1 compile 1m 9s trunk passed with JDK v1.7.0_85
        +1 checkstyle 0m 24s trunk passed
        +1 mvnsite 1m 24s trunk passed
        +1 mvneclipse 0m 21s trunk passed
        +1 findbugs 2m 52s trunk passed
        +1 javadoc 1m 51s trunk passed with JDK v1.8.0_66
        +1 javadoc 2m 50s trunk passed with JDK v1.7.0_85
        +1 mvninstall 1m 18s the patch passed
        +1 compile 1m 24s the patch passed with JDK v1.8.0_66
        +1 javac 1m 24s the patch passed
        +1 compile 1m 7s the patch passed with JDK v1.7.0_85
        +1 javac 1m 7s the patch passed
        -1 checkstyle 0m 23s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57).
        +1 mvnsite 1m 22s the patch passed
        +1 mvneclipse 0m 20s the patch passed
        +1 whitespace 0m 0s Patch has no whitespace issues.
        +1 findbugs 3m 9s the patch passed
        +1 javadoc 1m 56s the patch passed with JDK v1.8.0_66
        +1 javadoc 2m 56s the patch passed with JDK v1.7.0_85
        -1 unit 103m 13s hadoop-hdfs in the patch failed with JDK v1.8.0_66.
        -1 unit 97m 48s hadoop-hdfs in the patch failed with JDK v1.7.0_85.
        -1 asflicense 0m 31s Patch generated 56 ASF License warnings.
        242m 57s



        Reason Tests
        JDK v1.8.0_66 Failed junit tests hadoop.hdfs.TestBlockStoragePolicy
          hadoop.hdfs.TestDFSStripedOutputStreamWithFailure180
          hadoop.hdfs.server.datanode.TestDataNodeMultipleRegistrations
          hadoop.hdfs.TestRecoverStripedFile
          hadoop.hdfs.security.TestDelegationTokenForProxyUser
          hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure
          hadoop.hdfs.TestSafeModeWithStripedFile
          hadoop.hdfs.TestDistributedFileSystem
          hadoop.hdfs.server.datanode.TestBlockReplacement
          hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes
          hadoop.hdfs.TestAclsEndToEnd
          hadoop.hdfs.qjournal.TestSecureNNWithQJM
          hadoop.hdfs.server.namenode.TestNamenodeCapacityReport
          hadoop.hdfs.TestEncryptionZones
          hadoop.security.TestPermission
          hadoop.hdfs.server.datanode.TestDirectoryScanner
          hadoop.hdfs.TestDFSStripedOutputStreamWithFailure190
        JDK v1.7.0_85 Failed junit tests hadoop.hdfs.TestGetBlocks
          hadoop.hdfs.TestDataTransferKeepalive
          hadoop.hdfs.security.TestDelegationTokenForProxyUser
          hadoop.hdfs.TestCrcCorruption
          hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes
          hadoop.hdfs.TestFileCreation
          hadoop.hdfs.server.datanode.TestBlockReplacement
          hadoop.hdfs.TestLeaseRecovery
          hadoop.hdfs.qjournal.TestSecureNNWithQJM
          hadoop.hdfs.TestEncryptionZones
          hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaRecovery
          hadoop.security.TestPermission
          hadoop.hdfs.server.datanode.TestDirectoryScanner



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:0ca8df7
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12774291/HDFS-9336-004.patch
        JIRA Issue HDFS-9336
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 81faf5a5fea5 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 /testptch/hadoop/patchprocess/precommit/personality/provided.sh
        git revision trunk / 177975e
        findbugs v3.0.0
        checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13657/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13657/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13657/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/13657/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13657/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/13657/testReport/
        asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13657/artifact/patchprocess/patch-asflicense-problems.txt
        modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
        Max memory used 76MB
        Powered by Apache Yetus http://yetus.apache.org
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13657/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 0s Docker mode activated. +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 11m 3s trunk passed +1 compile 1m 17s trunk passed with JDK v1.8.0_66 +1 compile 1m 9s trunk passed with JDK v1.7.0_85 +1 checkstyle 0m 24s trunk passed +1 mvnsite 1m 24s trunk passed +1 mvneclipse 0m 21s trunk passed +1 findbugs 2m 52s trunk passed +1 javadoc 1m 51s trunk passed with JDK v1.8.0_66 +1 javadoc 2m 50s trunk passed with JDK v1.7.0_85 +1 mvninstall 1m 18s the patch passed +1 compile 1m 24s the patch passed with JDK v1.8.0_66 +1 javac 1m 24s the patch passed +1 compile 1m 7s the patch passed with JDK v1.7.0_85 +1 javac 1m 7s the patch passed -1 checkstyle 0m 23s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57). +1 mvnsite 1m 22s the patch passed +1 mvneclipse 0m 20s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 3m 9s the patch passed +1 javadoc 1m 56s the patch passed with JDK v1.8.0_66 +1 javadoc 2m 56s the patch passed with JDK v1.7.0_85 -1 unit 103m 13s hadoop-hdfs in the patch failed with JDK v1.8.0_66. -1 unit 97m 48s hadoop-hdfs in the patch failed with JDK v1.7.0_85. -1 asflicense 0m 31s Patch generated 56 ASF License warnings. 242m 57s Reason Tests JDK v1.8.0_66 Failed junit tests hadoop.hdfs.TestBlockStoragePolicy   hadoop.hdfs.TestDFSStripedOutputStreamWithFailure180   hadoop.hdfs.server.datanode.TestDataNodeMultipleRegistrations   hadoop.hdfs.TestRecoverStripedFile   hadoop.hdfs.security.TestDelegationTokenForProxyUser   hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure   hadoop.hdfs.TestSafeModeWithStripedFile   hadoop.hdfs.TestDistributedFileSystem   hadoop.hdfs.server.datanode.TestBlockReplacement   hadoop.hdfs.server.namenode.ha.TestSeveralNameNodes   hadoop.hdfs.TestAclsEndToEnd   hadoop.hdfs.qjournal.TestSecureNNWithQJM   hadoop.hdfs.server.namenode.TestNamenodeCapacityReport   hadoop.hdfs.TestEncryptionZones   hadoop.security.TestPermission   hadoop.hdfs.server.datanode.TestDirectoryScanner   hadoop.hdfs.TestDFSStripedOutputStreamWithFailure190 JDK v1.7.0_85 Failed junit tests hadoop.hdfs.TestGetBlocks   hadoop.hdfs.TestDataTransferKeepalive   hadoop.hdfs.security.TestDelegationTokenForProxyUser   hadoop.hdfs.TestCrcCorruption   hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes   hadoop.hdfs.TestFileCreation   hadoop.hdfs.server.datanode.TestBlockReplacement   hadoop.hdfs.TestLeaseRecovery   hadoop.hdfs.qjournal.TestSecureNNWithQJM   hadoop.hdfs.TestEncryptionZones   hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistReplicaRecovery   hadoop.security.TestPermission   hadoop.hdfs.server.datanode.TestDirectoryScanner Subsystem Report/Notes Docker Image:yetus/hadoop:0ca8df7 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12774291/HDFS-9336-004.patch JIRA Issue HDFS-9336 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 81faf5a5fea5 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 /testptch/hadoop/patchprocess/precommit/personality/provided.sh git revision trunk / 177975e findbugs v3.0.0 checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13657/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13657/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13657/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/13657/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13657/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/13657/testReport/ asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13657/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Max memory used 76MB Powered by Apache Yetus http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13657/console This message was automatically generated.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Akira Ajisaka thanks a lot for your review.. Uploaded the patch to address your comments..Kindly Review.

        Show
        brahmareddy Brahma Reddy Battula added a comment - Akira Ajisaka thanks a lot for your review.. Uploaded the patch to address your comments..Kindly Review.
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Thanks Brahma Reddy Battula for updating the patch.
        1. I'm thinking the name of the new class should be TestNameNodeRpcServerMethods, so that we can later include the tests of other methods of NameNodeRpcServer (such as createSnapshot and renameSnapshot, ...) in the class.

        import static org.junit.Assert.*;
        

        2. Would you remove unused import?

              Assert.fail("testSnapshotMethods expected exception is not thrown");
        

        3. The new test name is not testSnapshotMethods, so we should rewrite the error message.

        Show
        ajisakaa Akira Ajisaka added a comment - Thanks Brahma Reddy Battula for updating the patch. 1. I'm thinking the name of the new class should be TestNameNodeRpcServerMethods , so that we can later include the tests of other methods of NameNodeRpcServer (such as createSnapshot and renameSnapshot , ...) in the class. import static org.junit.Assert.*; 2. Would you remove unused import? Assert.fail( "testSnapshotMethods expected exception is not thrown" ); 3. The new test name is not testSnapshotMethods , so we should rewrite the error message.
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 12s 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 10m 24s trunk passed
        +1 compile 1m 12s trunk passed with JDK v1.8.0_66
        +1 compile 1m 2s trunk passed with JDK v1.7.0_79
        +1 checkstyle 0m 22s trunk passed
        +1 mvnsite 1m 15s trunk passed
        +1 mvneclipse 0m 20s trunk passed
        +1 findbugs 2m 34s trunk passed
        +1 javadoc 1m 46s trunk passed with JDK v1.8.0_66
        +1 javadoc 2m 41s trunk passed with JDK v1.7.0_79
        +1 mvninstall 1m 8s the patch passed
        +1 compile 1m 9s the patch passed with JDK v1.8.0_66
        +1 javac 1m 9s the patch passed
        +1 compile 0m 59s the patch passed with JDK v1.7.0_79
        +1 javac 0m 59s the patch passed
        -1 checkstyle 0m 19s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57).
        +1 mvnsite 1m 8s the patch passed
        +1 mvneclipse 0m 19s the patch passed
        -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix.
        +1 findbugs 2m 45s the patch passed
        +1 javadoc 1m 38s the patch passed with JDK v1.8.0_66
        +1 javadoc 2m 31s the patch passed with JDK v1.7.0_79
        -1 unit 91m 13s hadoop-hdfs in the patch failed with JDK v1.8.0_66.
        -1 unit 79m 5s hadoop-hdfs in the patch failed with JDK v1.7.0_79.
        -1 asflicense 0m 29s Patch generated 56 ASF License warnings.
        208m 21s



        Reason Tests
        JDK v1.8.0_66 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner
          hadoop.hdfs.server.namenode.ha.TestEditLogTailer
          hadoop.hdfs.security.TestDelegationTokenForProxyUser
          hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure
          hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes
          hadoop.hdfs.server.datanode.TestBlockReplacement
          hadoop.fs.TestSymlinkHdfsFileContext
          hadoop.hdfs.qjournal.client.TestQuorumJournalManager
          hadoop.hdfs.server.namenode.TestNamenodeCapacityReport
          hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot
          hadoop.hdfs.server.namenode.TestNameNodeRespectsBindHostKeys
          hadoop.hdfs.server.datanode.TestDirectoryScanner
          hadoop.hdfs.TestDFSStripedOutputStreamWithFailure190
        JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.namenode.ha.TestEditLogTailer
          hadoop.hdfs.shortcircuit.TestShortCircuitCache
          hadoop.hdfs.server.balancer.TestBalancerWithSaslDataTransfer
          hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints
          hadoop.hdfs.server.datanode.TestBlockReplacement
          hadoop.hdfs.TestAclsEndToEnd
          hadoop.hdfs.TestEncryptionZones
          hadoop.hdfs.server.datanode.TestBPOfferService



        Subsystem Report/Notes
        Docker Image:yetus/hadoop:date2015-11-20
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12773570/HDFS-9336-003.patch
        JIRA Issue HDFS-9336
        Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle
        uname Linux 812a58a6b46f 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@2/patchprocess/apache-yetus-3f4279a/precommit/personality/hadoop.sh
        git revision trunk / 4539131
        findbugs v3.0.0
        checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
        whitespace https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/whitespace-eol.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13582/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/13582/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13582/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/13582/testReport/
        asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/patch-asflicense-problems.txt
        modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
        Max memory used 78MB
        Powered by Apache Yetus http://yetus.apache.org
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13582/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 12s 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 10m 24s trunk passed +1 compile 1m 12s trunk passed with JDK v1.8.0_66 +1 compile 1m 2s trunk passed with JDK v1.7.0_79 +1 checkstyle 0m 22s trunk passed +1 mvnsite 1m 15s trunk passed +1 mvneclipse 0m 20s trunk passed +1 findbugs 2m 34s trunk passed +1 javadoc 1m 46s trunk passed with JDK v1.8.0_66 +1 javadoc 2m 41s trunk passed with JDK v1.7.0_79 +1 mvninstall 1m 8s the patch passed +1 compile 1m 9s the patch passed with JDK v1.8.0_66 +1 javac 1m 9s the patch passed +1 compile 0m 59s the patch passed with JDK v1.7.0_79 +1 javac 0m 59s the patch passed -1 checkstyle 0m 19s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57). +1 mvnsite 1m 8s the patch passed +1 mvneclipse 0m 19s the patch passed -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix. +1 findbugs 2m 45s the patch passed +1 javadoc 1m 38s the patch passed with JDK v1.8.0_66 +1 javadoc 2m 31s the patch passed with JDK v1.7.0_79 -1 unit 91m 13s hadoop-hdfs in the patch failed with JDK v1.8.0_66. -1 unit 79m 5s hadoop-hdfs in the patch failed with JDK v1.7.0_79. -1 asflicense 0m 29s Patch generated 56 ASF License warnings. 208m 21s Reason Tests JDK v1.8.0_66 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner   hadoop.hdfs.server.namenode.ha.TestEditLogTailer   hadoop.hdfs.security.TestDelegationTokenForProxyUser   hadoop.hdfs.server.datanode.TestDataNodeVolumeFailure   hadoop.hdfs.server.datanode.TestDataNodeHotSwapVolumes   hadoop.hdfs.server.datanode.TestBlockReplacement   hadoop.fs.TestSymlinkHdfsFileContext   hadoop.hdfs.qjournal.client.TestQuorumJournalManager   hadoop.hdfs.server.namenode.TestNamenodeCapacityReport   hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot   hadoop.hdfs.server.namenode.TestNameNodeRespectsBindHostKeys   hadoop.hdfs.server.datanode.TestDirectoryScanner   hadoop.hdfs.TestDFSStripedOutputStreamWithFailure190 JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.namenode.ha.TestEditLogTailer   hadoop.hdfs.shortcircuit.TestShortCircuitCache   hadoop.hdfs.server.balancer.TestBalancerWithSaslDataTransfer   hadoop.hdfs.server.namenode.ha.TestStandbyCheckpoints   hadoop.hdfs.server.datanode.TestBlockReplacement   hadoop.hdfs.TestAclsEndToEnd   hadoop.hdfs.TestEncryptionZones   hadoop.hdfs.server.datanode.TestBPOfferService Subsystem Report/Notes Docker Image:yetus/hadoop:date2015-11-20 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12773570/HDFS-9336-003.patch JIRA Issue HDFS-9336 Optional Tests asflicense compile javac javadoc mvninstall mvnsite unit findbugs checkstyle uname Linux 812a58a6b46f 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@2/patchprocess/apache-yetus-3f4279a/precommit/personality/hadoop.sh git revision trunk / 4539131 findbugs v3.0.0 checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt whitespace https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/whitespace-eol.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13582/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/13582/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13582/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/13582/testReport/ asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13582/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Max memory used 78MB Powered by Apache Yetus http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13582/console This message was automatically generated.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Akira Ajisaka thanks a lot for taking a look into this issue.uploaded the patch to separate the testcase..kindly review..

        Show
        brahmareddy Brahma Reddy Battula added a comment - Akira Ajisaka thanks a lot for taking a look into this issue.uploaded the patch to separate the testcase..kindly review..
        Hide
        ajisakaa Akira Ajisaka added a comment -

        Thanks Brahma Reddy Battula for creating the patch. I'm thinking the regression test should not be in TestNameNodeRetryCache.java since this issues is not related to retry cache. Would you add the test in TestNameNodeRpcServer or creating a new test class?

        Show
        ajisakaa Akira Ajisaka added a comment - Thanks Brahma Reddy Battula for creating the patch. I'm thinking the regression test should not be in TestNameNodeRetryCache.java since this issues is not related to retry cache. Would you add the test in TestNameNodeRpcServer or creating a new test class?
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Test failures are unrelated,Kindly review!!

        Show
        brahmareddy Brahma Reddy Battula added a comment - Test failures are unrelated,Kindly review!!
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 5s 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 43s trunk passed
        +1 compile 0m 39s trunk passed with JDK v1.8.0_66
        +1 compile 0m 37s trunk passed with JDK v1.7.0_79
        +1 checkstyle 0m 17s trunk passed
        +1 mvneclipse 0m 17s trunk passed
        -1 findbugs 2m 6s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs
        +1 javadoc 1m 13s trunk passed with JDK v1.8.0_66
        +1 javadoc 1m 50s trunk passed with JDK v1.7.0_79
        +1 mvninstall 0m 39s the patch passed
        +1 compile 0m 33s the patch passed with JDK v1.8.0_66
        +1 javac 0m 33s the patch passed
        +1 compile 0m 32s the patch passed with JDK v1.7.0_79
        +1 javac 0m 32s the patch passed
        -1 checkstyle 0m 15s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57).
        +1 mvneclipse 0m 15s the patch passed
        +1 whitespace 0m 0s Patch has no whitespace issues.
        +1 findbugs 2m 6s the patch passed
        +1 javadoc 1m 10s the patch passed with JDK v1.8.0_66
        +1 javadoc 1m 54s the patch passed with JDK v1.7.0_79
        -1 unit 67m 15s hadoop-hdfs in the patch failed with JDK v1.8.0_66.
        -1 unit 68m 14s hadoop-hdfs in the patch failed with JDK v1.7.0_79.
        -1 asflicense 0m 22s Patch generated 56 ASF License warnings.
        156m 43s



        Reason Tests
        JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner
          hadoop.hdfs.server.namenode.ha.TestXAttrsWithHA
          hadoop.hdfs.server.datanode.TestDataNodeMetrics
          hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes
          hadoop.hdfs.TestDFSStripedOutputStreamWithFailure010
          hadoop.hdfs.server.namenode.ha.TestDFSUpgradeWithHA
          hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot



        Subsystem Report/Notes
        Docker Client=1.7.0 Server=1.7.0 Image:test-patch-base-hadoop-date2015-10-29
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769578/HDFS-9336-002.patch
        JIRA Issue HDFS-9336
        Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile
        uname Linux 8b3bd9362966 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-c3a2069/precommit/personality/hadoop.sh
        git revision trunk / e2267de
        Default Java 1.7.0_79
        Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_79
        findbugs v3.0.0
        findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html
        checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13281/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/13281/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13281/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/13281/testReport/
        asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/patch-asflicense-problems.txt
        modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
        Max memory used 224MB
        Powered by Apache Yetus http://yetus.apache.org
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13281/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 5s 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 43s trunk passed +1 compile 0m 39s trunk passed with JDK v1.8.0_66 +1 compile 0m 37s trunk passed with JDK v1.7.0_79 +1 checkstyle 0m 17s trunk passed +1 mvneclipse 0m 17s trunk passed -1 findbugs 2m 6s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs +1 javadoc 1m 13s trunk passed with JDK v1.8.0_66 +1 javadoc 1m 50s trunk passed with JDK v1.7.0_79 +1 mvninstall 0m 39s the patch passed +1 compile 0m 33s the patch passed with JDK v1.8.0_66 +1 javac 0m 33s the patch passed +1 compile 0m 32s the patch passed with JDK v1.7.0_79 +1 javac 0m 32s the patch passed -1 checkstyle 0m 15s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57). +1 mvneclipse 0m 15s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 6s the patch passed +1 javadoc 1m 10s the patch passed with JDK v1.8.0_66 +1 javadoc 1m 54s the patch passed with JDK v1.7.0_79 -1 unit 67m 15s hadoop-hdfs in the patch failed with JDK v1.8.0_66. -1 unit 68m 14s hadoop-hdfs in the patch failed with JDK v1.7.0_79. -1 asflicense 0m 22s Patch generated 56 ASF License warnings. 156m 43s Reason Tests JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner   hadoop.hdfs.server.namenode.ha.TestXAttrsWithHA   hadoop.hdfs.server.datanode.TestDataNodeMetrics   hadoop.hdfs.server.balancer.TestBalancerWithMultipleNameNodes   hadoop.hdfs.TestDFSStripedOutputStreamWithFailure010   hadoop.hdfs.server.namenode.ha.TestDFSUpgradeWithHA   hadoop.hdfs.server.namenode.snapshot.TestOpenFilesWithSnapshot Subsystem Report/Notes Docker Client=1.7.0 Server=1.7.0 Image:test-patch-base-hadoop-date2015-10-29 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769578/HDFS-9336-002.patch JIRA Issue HDFS-9336 Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile uname Linux 8b3bd9362966 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-c3a2069/precommit/personality/hadoop.sh git revision trunk / e2267de Default Java 1.7.0_79 Multi-JDK versions /usr/lib/jvm/java-8-oracle:1.8.0_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_79 findbugs v3.0.0 findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13281/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/13281/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13281/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/13281/testReport/ asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13281/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Max memory used 224MB Powered by Apache Yetus http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13281/console This message was automatically generated.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Rakesh R thanks for looking into this issue.. Updated the patch.. Used GenericTestUtils.assertExceptionContains ...

        Show
        brahmareddy Brahma Reddy Battula added a comment - Rakesh R thanks for looking into this issue.. Updated the patch.. Used GenericTestUtils.assertExceptionContains ...
        Hide
        hadoopqa Hadoop QA added a comment -
        -1 overall



        Vote Subsystem Runtime Comment
        0 reexec 0m 6s 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 5s trunk passed
        +1 compile 0m 35s trunk passed with JDK v1.8.0_66
        +1 compile 0m 34s trunk passed with JDK v1.7.0_79
        +1 checkstyle 0m 16s trunk passed
        +1 mvneclipse 0m 14s trunk passed
        -1 findbugs 2m 2s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs
        +1 javadoc 1m 13s trunk passed with JDK v1.8.0_66
        +1 javadoc 2m 1s trunk passed with JDK v1.7.0_79
        +1 mvninstall 0m 40s the patch passed
        +1 compile 0m 33s the patch passed with JDK v1.8.0_66
        +1 javac 0m 33s the patch passed
        +1 compile 0m 34s the patch passed with JDK v1.7.0_79
        +1 javac 0m 34s the patch passed
        -1 checkstyle 0m 16s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57).
        +1 mvneclipse 0m 14s the patch passed
        +1 whitespace 0m 0s Patch has no whitespace issues.
        +1 findbugs 2m 13s the patch passed
        +1 javadoc 1m 13s the patch passed with JDK v1.8.0_66
        +1 javadoc 1m 59s the patch passed with JDK v1.7.0_79
        -1 unit 66m 55s hadoop-hdfs in the patch failed with JDK v1.8.0_66.
        -1 unit 66m 25s hadoop-hdfs in the patch failed with JDK v1.7.0_79.
        -1 asflicense 0m 19s Patch generated 56 ASF License warnings.
        154m 23s



        Reason Tests
        JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner
          hadoop.hdfs.TestRollingUpgrade



        Subsystem Report/Notes
        Docker Client=1.7.0 Server=1.7.0 Image:test-patch-base-hadoop-date2015-10-29
        JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769536/HDFS-9336.patch
        JIRA Issue HDFS-9336
        Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile
        uname Linux 87896e61df92 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_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_79
        findbugs v3.0.0
        findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html
        checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt
        unit https://builds.apache.org/job/PreCommit-HDFS-Build/13275/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/13275/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13275/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/13275/testReport/
        asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/patch-asflicense-problems.txt
        modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs
        Max memory used 227MB
        Powered by Apache Yetus http://yetus.apache.org
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13275/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 reexec 0m 6s 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 5s trunk passed +1 compile 0m 35s trunk passed with JDK v1.8.0_66 +1 compile 0m 34s trunk passed with JDK v1.7.0_79 +1 checkstyle 0m 16s trunk passed +1 mvneclipse 0m 14s trunk passed -1 findbugs 2m 2s hadoop-hdfs-project/hadoop-hdfs in trunk cannot run convertXmlToText from findbugs +1 javadoc 1m 13s trunk passed with JDK v1.8.0_66 +1 javadoc 2m 1s trunk passed with JDK v1.7.0_79 +1 mvninstall 0m 40s the patch passed +1 compile 0m 33s the patch passed with JDK v1.8.0_66 +1 javac 0m 33s the patch passed +1 compile 0m 34s the patch passed with JDK v1.7.0_79 +1 javac 0m 34s the patch passed -1 checkstyle 0m 16s Patch generated 1 new checkstyle issues in hadoop-hdfs-project/hadoop-hdfs (total was 57, now 57). +1 mvneclipse 0m 14s the patch passed +1 whitespace 0m 0s Patch has no whitespace issues. +1 findbugs 2m 13s the patch passed +1 javadoc 1m 13s the patch passed with JDK v1.8.0_66 +1 javadoc 1m 59s the patch passed with JDK v1.7.0_79 -1 unit 66m 55s hadoop-hdfs in the patch failed with JDK v1.8.0_66. -1 unit 66m 25s hadoop-hdfs in the patch failed with JDK v1.7.0_79. -1 asflicense 0m 19s Patch generated 56 ASF License warnings. 154m 23s Reason Tests JDK v1.7.0_79 Failed junit tests hadoop.hdfs.server.datanode.TestBlockScanner   hadoop.hdfs.TestRollingUpgrade Subsystem Report/Notes Docker Client=1.7.0 Server=1.7.0 Image:test-patch-base-hadoop-date2015-10-29 JIRA Patch URL https://issues.apache.org/jira/secure/attachment/12769536/HDFS-9336.patch JIRA Issue HDFS-9336 Optional Tests asflicense javac javadoc mvninstall unit findbugs checkstyle compile uname Linux 87896e61df92 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_66 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_79 findbugs v3.0.0 findbugs https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/branch-findbugs-hadoop-hdfs-project_hadoop-hdfs.html checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/diff-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt unit https://builds.apache.org/job/PreCommit-HDFS-Build/13275/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/13275/artifact/patchprocess/patch-unit-hadoop-hdfs-project_hadoop-hdfs-jdk1.8.0_66.txt https://builds.apache.org/job/PreCommit-HDFS-Build/13275/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/13275/testReport/ asflicense https://builds.apache.org/job/PreCommit-HDFS-Build/13275/artifact/patchprocess/patch-asflicense-problems.txt modules C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs Max memory used 227MB Powered by Apache Yetus http://yetus.apache.org Console output https://builds.apache.org/job/PreCommit-HDFS-Build/13275/console This message was automatically generated.
        Hide
        rakeshr Rakesh R added a comment -

        Thanks for the work Brahma Reddy Battula. I've a quick comment.

        In tests, please use GenericTestUtils.assertExceptionContains instead of directly using e.getMessage.contains(""). Could you refer TestDataStorage.java#L173 to know the usage.

        Show
        rakeshr Rakesh R added a comment - Thanks for the work Brahma Reddy Battula . I've a quick comment. In tests, please use GenericTestUtils.assertExceptionContains instead of directly using e.getMessage.contains(""). Could you refer TestDataStorage.java#L173 to know the usage.
        Hide
        brahmareddy Brahma Reddy Battula added a comment -

        Uploaded patch.. Kindly review...

        Show
        brahmareddy Brahma Reddy Battula added a comment - Uploaded patch.. Kindly review...

          People

          • Assignee:
            brahmareddy Brahma Reddy Battula
            Reporter:
            brahmareddy Brahma Reddy Battula
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development