[ 
https://issues.apache.org/jira/browse/HDFS-15793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286295#comment-17286295
 ] 

Yang Yun commented on HDFS-15793:
---------------------------------

Thanks [~ayushtkn] for your review.

Sorry for the last patch lost some functions, updated to HDFS-15793.002.patch 
with following changes,
 * Add logical to process comand 'DNA_BALANCERBANDWIDTHUPDATE' in  
BPOfferService and call updateBalancerMaxConcurrentMovers of DataXceiverServer 
to make change thread bother smoothly.
 * Add more test to check all datanode or call '-getBalancerMaxThreads' to make 
sure that actaully the threads increased/decreased.
 * Fix the bug in router code and add a test for Router.

 

> Add command to DFSAdmin for Balancer max concurrent  threads
> ------------------------------------------------------------
>
>                 Key: HDFS-15793
>                 URL: https://issues.apache.org/jira/browse/HDFS-15793
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer & mover
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>         Attachments: HDFS-15793.001.patch, HDFS-15793.002.patch
>
>
> We have DFSAdmin command '-setBalancerBandwidth' to dynamically change the 
> max number of bytes per second of network bandwidth to be used by a datanode 
> during balancing.  Also add '-setBalancerMaxThreads' to dynamically change 
> the balancer maxThread number which may be used concurrently for moving 
> blocks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to