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

Timeout on "org.apache.hadoop.fs.TestEnhancedByteBufferAccess.testZeroCopyReadOfCachedData" test in PPC64

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: caching, namenode, test
    • Labels:
      None
    • Environment:

      RHEL 7.1 on ppc64le
      IBM JVM JRE 1.7.0 build 2.7, Linux ppc64le-64

    • Release Note:
      This problem is a duplication of the HDFS-7585

      Description

      Test "testZeroCopyReadOfCachedData" of "org.apache.hadoop.fs.TestEnhancedByteBufferAccess"
      Error : Timed out waiting for condition

      In stack trace, I have:
      at java.lang.Thread.getStackTraceImpl(Native Method)
      at java.lang.Thread.getStackTrace(Thread.java:1207)
      at java.lang.Thread.getAllStackTraces(Thread.java:1235)
      at org.apache.hadoop.test.TimedOutTestsListener.buildThreadDump(TimedOutTestsListener.java:86)
      at org.apache.hadoop.test.TimedOutTestsListener.buildThreadDiagnosticString(TimedOutTestsListener.java:72)
      at org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.java:123)
      at org.apache.hadoop.hdfs.DFSTestUtil.verifyExpectedCacheUsage(DFSTestUtil.java:1210)
      at org.apache.hadoop.fs.TestEnhancedByteBufferAccess.testZeroCopyReadOfCachedData(TestEnhancedByteBufferAccess.java:638)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
      at java.lang.reflect.Method.invoke(Method.java:620)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)

      And in log, I can see lot of time:
      2015-02-24 07:24:05,041 INFO hdfs.DFSTestUtil (DFSTestUtil.java:get(1220)) - verifyExpectedCacheUsage: have 0/20480 bytes cached; 0/5 blocks cached. memlock limit = 65536. Waiting...

      For information: this test is passed in x86_64 on RHEL 7 and IBM JVM
      Have you a solution to pass this test?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                laurent.gay Laurent GAY
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: