[ 
https://issues.apache.org/jira/browse/HDFS-9716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127954#comment-15127954
 ] 

Kai Zheng commented on HDFS-9716:
---------------------------------

bq. java.io.File.length() returns 0 if the file is not found.
I thought the block file should be there, but due to some issue its length is 
0. Otherwise {{MiniDFSCluster.getBlockFile}} will return null.

> o.a.h.hdfs.TestRecoverStripedFile fails intermittently in trunk
> ---------------------------------------------------------------
>
>                 Key: HDFS-9716
>                 URL: https://issues.apache.org/jira/browse/HDFS-9716
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.8.0
>            Reporter: Mingliang Liu
>            Assignee: Walter Su
>
> See recent builds:
> * 
> https://builds.apache.org/job/PreCommit-HDFS-Build/14269/testReport/org.apache.hadoop.hdfs/TestRecoverStripedFile/testRecoverThreeDataBlocks1/
> * 
> https://builds.apache.org/job/PreCommit-HADOOP-Build/8477/testReport/org.apache.hadoop.hdfs/TestRecoverStripedFile/testRecoverThreeDataBlocks/



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

Reply via email to