[
https://issues.apache.org/jira/browse/HDFS-7576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14578329#comment-14578329
]
Xiaoyu Yao commented on HDFS-7576:
----------------------------------
I saw the same test failed but with a different stack from this
https://builds.apache.org/job/PreCommit-HDFS-Build/11273/artifact/patchprocess/testrun_hadoop-hdfs.txt
today.
{code}
Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 84.396 sec <<<
FAILURE! - in org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover
testFailoverRightBeforeCommitSynchronization(org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover)
Time elapsed: 2.029 sec <<< ERROR!
java.io.IOException: Cannot obtain block length for
LocatedBlock{BP-316490051-67.195.81.148-1433795731197:blk_1073741825_1001;
getBlockSize()=2048; corrupt=false; offset=0;
locs=[DatanodeInfoWithStorage[127.0.0.1:59303,DS-1e89e854-057a-4e6a-8fb4-4f5ee9966e66,DISK],
DatanodeInfoWithStorage[127.0.0.1:58885,DS-a1d1439d-3e34-4ca1-b03e-e1aff5b873ea,DISK],
DatanodeInfoWithStorage[127.0.0.1:44884,DS-ec633801-467c-4f8e-b827-fcbd04dea5d7,DISK]]}
at
org.apache.hadoop.hdfs.DFSInputStream.readBlockLength(DFSInputStream.java:394)
at
org.apache.hadoop.hdfs.DFSInputStream.fetchLocatedBlocksAndGetLastBlockLength(DFSInputStream.java:336)
at
org.apache.hadoop.hdfs.DFSInputStream.openInfo(DFSInputStream.java:272)
at org.apache.hadoop.hdfs.DFSInputStream.<init>(DFSInputStream.java:263)
at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:1184)
at
org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:308)
at
org.apache.hadoop.hdfs.DistributedFileSystem$3.doCall(DistributedFileSystem.java:304)
at
org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
at
org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:304)
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:768)
at
org.apache.hadoop.hdfs.DFSTestUtil.getFirstBlock(DFSTestUtil.java:747)
at
org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover.testFailoverRightBeforeCommitSynchronization(TestPipelinesFailover.java:353)
{code}
> TestPipelinesFailover#testFailoverRightBeforeCommitSynchronization sometimes
> fails in Java 8 build
> --------------------------------------------------------------------------------------------------
>
> Key: HDFS-7576
> URL: https://issues.apache.org/jira/browse/HDFS-7576
> Project: Hadoop HDFS
> Issue Type: Test
> Reporter: Ted Yu
> Priority: Minor
>
> From https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/54/ :
> {code}
> REGRESSION:
> org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover.testFailoverRightBeforeCommitSynchronization
> Error Message:
> test timed out after 30000 milliseconds
> Stack Trace:
> java.lang.Exception: test timed out after 30000 milliseconds
> at sun.misc.Unsafe.park(Native Method)
> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
> at
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
> at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
> at
> org.apache.hadoop.test.GenericTestUtils$DelayAnswer.waitForCall(GenericTestUtils.java:226)
> at
> org.apache.hadoop.hdfs.server.namenode.ha.TestPipelinesFailover.testFailoverRightBeforeCommitSynchronization(TestPipelinesFailover.java:386)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)