Details
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
- blocks
-
HDFS-7585 Get TestEnhancedByteBufferAccess working on CPU architectures with page sizes other than 4096
- Closed