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

Suresh Srinivas updated HDFS-1547:
----------------------------------

    Attachment: HDFS-1547.2.patch

Attached patch fixes the following:
# Cluster stats updates had a bug. Thanks Todd for pointing it out. I have 
fixed it and added tests to check this.
# Node removed from include file was not being shutdown. I added this 
functionality back and added a test to test this.
# Decommissioning/decommissioned update the stats as given below:
#* Node used capacity is counted towards cluster used capacity.
#* Node capacity is not counted towards the cluster capacity. Only node used 
capacity is used counted towards cluster capacity.
#* Node capacity remaining is not counted towards cluster capacity remaining.
# Cleaned up TestDecommission and moved it to junit4.

> Improve decommission mechanism
> ------------------------------
>
>                 Key: HDFS-1547
>                 URL: https://issues.apache.org/jira/browse/HDFS-1547
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.23.0
>
>         Attachments: HDFS-1547.1.patch, HDFS-1547.2.patch, HDFS-1547.patch, 
> show-stats-broken.txt
>
>
> Current decommission mechanism driven using exclude file has several issues. 
> This bug proposes some changes in the mechanism for better manageability. See 
> the proposal in the next comment for more details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to