You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2015/08/27 09:42:45 UTC
[jira] [Updated] (HDFS-8682) Should not remove decommissioned
node,while calculating the number of live/dead decommissioned node.
[ https://issues.apache.org/jira/browse/HDFS-8682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinayakumar B updated HDFS-8682:
--------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
Committed to trunk and branch-2.
Thanks [~andreina]
> 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)