Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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 removeDecommissionNode )
In FSNamesystem#getNumDecomLiveDataNodes and FSNamesystem#getNumDecomDeadDataNodes , calculation is done as below.
getBlockManager().getDatanodeManager().fetchDatanodes(null, dead, true);
Attachments
Attachments
Issue Links
- is required by
-
HDFS-8780 Fetching live/dead datanode list with arg true for removeDecommissionNode,returns list with decom node.
- Resolved