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

Fix failures in TestLazyPersistLockedMemory#testReleaseOnEviction

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Environment:

      jenkins

      Description

      Testcase ,TestLazyPersistLockedMemory#testReleaseOnEviction fails with below exception

      java.lang.AssertionError: expected:<1> but was:<0>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.LazyPersistTestCase.verifyRamDiskJMXMetric(LazyPersistTestCase.java:483)
      	at org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.TestLazyPersistLockedMemory.testReleaseOnEviction(TestLazyPersistLockedMemory.java:122)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      
      
      1. HDFS-9073.1.patch
        1 kB
        J.Andreina
      2. HDFS-9073.2.patch
        1.0 kB
        J.Andreina

        Issue Links

          Activity

          Hide
          andreina J.Andreina added a comment -

          Resolving this as duplicate to HDFS-9067 . As the fix will be on same utility class.

          Show
          andreina J.Andreina added a comment - Resolving this as duplicate to HDFS-9067 . As the fix will be on same utility class.
          Hide
          andreina J.Andreina added a comment -

          Reopening as the fix for HDFS-9067 does not apply.

          Show
          andreina J.Andreina added a comment - Reopening as the fix for HDFS-9067 does not apply.
          Hide
          vinayrpet Vinayakumar B added a comment -

          Since HDFS-9067 is fixed now and it has exposed a util in DFSTestUtil#waitForMetric(), same can be used to fix this test failure.

          Show
          vinayrpet Vinayakumar B added a comment - Since HDFS-9067 is fixed now and it has exposed a util in DFSTestUtil#waitForMetric() , same can be used to fix this test failure.
          Hide
          andreina J.Andreina added a comment -

          Thanks Vinayakumar B
          Updated the patch , after the fix of HDFS-9067.
          Please review.

          Show
          andreina J.Andreina added a comment - Thanks Vinayakumar B Updated the patch , after the fix of HDFS-9067 . Please review.
          Hide
          andreina J.Andreina added a comment -

          Updated the patch.
          Please review.

          Show
          andreina J.Andreina added a comment - Updated the patch. Please review.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          0 pre-patch 8m 3s 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 57s There were no new javac warning messages.
          +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings.
          +1 checkstyle 1m 21s There were no new checkstyle issues.
          +1 whitespace 0m 0s The patch has no lines that end in whitespace.
          +1 install 1m 30s mvn install still works.
          +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
          +1 findbugs 2m 23s The patch does not introduce any new Findbugs (version 3.0.0) warnings.
          +1 native 1m 14s Pre-build of native portion
          -1 hdfs tests 192m 59s Tests failed in hadoop-hdfs.
              216m 26s  



          Reason Tests
          Failed unit tests hadoop.hdfs.server.datanode.TestDataNodeUUID
            hadoop.hdfs.server.datanode.TestFsDatasetCacheRevocation
            hadoop.hdfs.server.datanode.TestFsDatasetCache
            hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12756022/HDFS-9073.2.patch
          Optional Tests javac unit findbugs checkstyle
          git revision trunk / 73e3a49
          hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12449/artifact/patchprocess/testrun_hadoop-hdfs.txt
          Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12449/testReport/
          Java 1.7.0_55
          uname Linux asf909.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/12449/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 8m 3s 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 57s There were no new javac warning messages. +1 release audit 0m 21s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 1m 21s There were no new checkstyle issues. +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 30s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 2m 23s The patch does not introduce any new Findbugs (version 3.0.0) warnings. +1 native 1m 14s Pre-build of native portion -1 hdfs tests 192m 59s Tests failed in hadoop-hdfs.     216m 26s   Reason Tests Failed unit tests hadoop.hdfs.server.datanode.TestDataNodeUUID   hadoop.hdfs.server.datanode.TestFsDatasetCacheRevocation   hadoop.hdfs.server.datanode.TestFsDatasetCache   hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12756022/HDFS-9073.2.patch Optional Tests javac unit findbugs checkstyle git revision trunk / 73e3a49 hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/12449/artifact/patchprocess/testrun_hadoop-hdfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/12449/testReport/ Java 1.7.0_55 uname Linux asf909.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/12449/console This message was automatically generated.
          Hide
          andreina J.Andreina added a comment -

          Testcase failures are unrelated.
          Please review.

          Show
          andreina J.Andreina added a comment - Testcase failures are unrelated. Please review.
          Hide
          stevel@apache.org Steve Loughran added a comment -

          +1 committed, thanks!

          Show
          stevel@apache.org Steve Loughran added a comment - +1 committed, thanks!
          Hide
          andreina J.Andreina added a comment -

          Thanks Steve Loughran for the commit

          Show
          andreina J.Andreina added a comment - Thanks Steve Loughran for the commit
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #8465 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8465/)
          HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #8465 (See https://builds.apache.org/job/Hadoop-trunk-Commit/8465/ ) HDFS-9073 . Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #403 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/403/)
          HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #403 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/403/ ) HDFS-9073 . Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #1137 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1137/)
          HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #1137 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/1137/ ) HDFS-9073 . Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2343 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2343/)
          HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2343 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2343/ ) HDFS-9073 . Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #396 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/396/)
          HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #396 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/396/ ) HDFS-9073 . Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #379 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/379/)
          HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #379 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/379/ ) HDFS-9073 . Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2319 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2319/)
          HDFS-9073. Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2319 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2319/ ) HDFS-9073 . Fix failures in TestLazyPersistLockedMemory testReleaseOnEviction(). (J.Andreina via stevel) (stevel: rev 08024d1b0ba0d399ae910a7226a98b019be6bdfa) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/LazyPersistTestCase.java

            People

            • Assignee:
              andreina J.Andreina
              Reporter:
              andreina J.Andreina
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development