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

Jing Zhao commented on HDFS-6053:
---------------------------------

In my local test the patch can fix the two failed unit tests, and with the 
change the code is consistent with trunk.

> Fix TestDecommissioningStatus and TestDecommission in branch-2
> --------------------------------------------------------------
>
>                 Key: HDFS-6053
>                 URL: https://issues.apache.org/jira/browse/HDFS-6053
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.4.0
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-6053.000.patch
>
>
> The failure is caused by the backport of HDFS-5285. In 
> BlockManager#isReplicationInProgress, "if (bc instanceof 
> MutableBlockCollection)" should be replaced by "if 
> (bc.isUnderConstruction())".



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to