Brahma Reddy Battula updated HDFS-10987:
    Attachment: HDFS-10987-002.patch

bq. Yes. Along with that, IMO should also add 'namesystem.isRunning()' to while 
loop condition in 'check()' to end execution fast

Sounds good to me.. Updated the patch..Addressed kihwal and vinay comments..

> Make Decommission less expensive when lot of blocks present.
> ------------------------------------------------------------
>                 Key: HDFS-10987
>                 URL: https://issues.apache.org/jira/browse/HDFS-10987
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>         Attachments: HDFS-10987-002.patch, HDFS-10987.patch
> When user want to decommission a node which having 50M blocks +,it could hold 
> the namesystem lock for long time.We've seen it is taking 36 sec+. 
> As we knew during this time, Namenode will not available... As this 
> decommission will continuosly run till all the blocks got replicated,hence 
> Namenode will unavailable.

This message was sent by Atlassian JIRA

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

Reply via email to