Laurent GAY created HDFS-7851:
---------------------------------

             Summary: Timeout on 
"org.apache.hadoop.fs.TestEnhancedByteBufferAccess.testZeroCopyReadOfCachedData"
 test in PPC64
                 Key: HDFS-7851
                 URL: https://issues.apache.org/jira/browse/HDFS-7851
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: caching, namenode, test
    Affects Versions: 2.4.1
         Environment: RHEL 7.1 on ppc64le
IBM JVM JRE 1.7.0 build 2.7, Linux ppc64le-64
            Reporter: Laurent GAY


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to