hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6053) Fix TestDecommissioningStatus and TestDecommission in branch-2
Date Tue, 04 Mar 2014 19:25:29 GMT

    [ 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)

Mime
View raw message