[jira] [Updated] (HDFS-6053) Fix TestDecommissioningStatus and TestDecommission in branch-2
[ https://issues.apache.org/jira/browse/HDFS-6053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-6053: - Component/s: namenode Hadoop Flags: Reviewed +1 patch looks good. > 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)
[jira] [Updated] (HDFS-6053) Fix TestDecommissioningStatus and TestDecommission in branch-2
[ https://issues.apache.org/jira/browse/HDFS-6053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao updated HDFS-6053: Attachment: HDFS-6053.000.patch A simple patch to fix. > 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 >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)