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

Walter Su commented on HDFS-8167:
---------------------------------

{code}
Tests run: 25, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.883 sec <<< 
FAILURE! - in 
org.apache.hadoop.hdfs.server.blockmanagement.TestReplicationPolicy
testConvertLastBlockToUnderConstructionDoesNotCauseSkippedReplication(org.apache.hadoop.hdfs.server.blockmanagement.TestReplicationPolicy)
  Time elapsed: 0.108 sec  <<< FAILURE!
java.lang.AssertionError: last block of the file is not in blocksMap
    at 
org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.convertLastBlockToUnderConstruction(BlockManager.java:749)
    at 
org.apache.hadoop.hdfs.server.blockmanagement.TestReplicationPolicy.testConvertLastBlockToUnderConstructionDoesNotCauseSkippedReplication(TestReplicationPolicy.java:1251)
{code}
The above test case depends on the correctness of 
{{BlockManager.getStoredBlock()}}. The test fails based on my builds which 
latest commit is e90115f "HDFS-7994. Detect if ...) "
Could you run the test again?

> BlockManager.addBlockCollectionWithCheck should check if the block is a 
> striped block
> -------------------------------------------------------------------------------------
>
>                 Key: HDFS-8167
>                 URL: https://issues.apache.org/jira/browse/HDFS-8167
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Hui Zheng
>         Attachments: HDFS-8167_001.patch
>
>
> This JIRA is to address [~zhz]'s 
> [comment|https://issues.apache.org/jira/browse/HDFS-7994?focusedCommentId=14498894&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14498894].



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

Reply via email to