hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8682) Should not remove decommissioned node,while calculating the number of live/dead decommissioned node.
Date Thu, 27 Aug 2015 11:09:45 GMT

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

Hudson commented on HDFS-8682:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #2239 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2239/])
HDFS-8682. Should not remove decommissioned node,while calculating the number of live/dead
decommissioned node. (Contributed by J. Andreina) (vinayakumarb: rev fdb56f74f38cabb0f94e0781fcedb1594904c026)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java


> Should not remove decommissioned node,while calculating the number of live/dead decommissioned
node.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8682
>                 URL: https://issues.apache.org/jira/browse/HDFS-8682
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: J.Andreina
>            Assignee: J.Andreina
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8682.1.patch
>
>
> True is passed as argument for removing decommissioned node from live/dead node list
,while calculating the number of live/dead decommissioned node.
>   public void fetchDatanodes(final List<DatanodeDescriptor> live, 
>       final List<DatanodeDescriptor> dead, final boolean {color:red}removeDecommissionNode{color}
)
> In FSNamesystem#*getNumDecomLiveDataNodes* and FSNamesystem#*getNumDecomDeadDataNodes*
, calculation is done as below.
>     getBlockManager().getDatanodeManager().fetchDatanodes(null, dead, {color:red}true{color});



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

Mime
View raw message