hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8682) Should not remove decommissioned node,while calculating the number of live/dead decommissioned node.
Date Sat, 30 Jul 2016 01:01:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Konstantin Shvachko updated HDFS-8682:
--------------------------------------
    Fix Version/s:     (was: 2.8.0)
                   2.7.4

> 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.7.4
>
>         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)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message