[ https://issues.apache.org/jira/browse/HDFS-12859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266814#comment-16266814 ]
Jianfei Jiang commented on HDFS-12859: -------------------------------------- Thanks [~brahmareddy], HDFS-9375 actually resolve the issue to set bandwidth for specific node perfectly and I have some same idea with him. It can be used to reset the bandwidth in memory with the value in configuration as well. However, HDFS-9375 focus on "SET" and I focus on "RESET". I want to synchronize bandwidth with the permanent value in the configuration file automatically. The value set by setBalancerBandwidth is sometimes temporary (scheduled task at low-load time or other use). If we have hundreds of datanodes and have various value in their hdfs-site.xml, it may be a little difficult to set the value back. So I thinks this new command would be useful in some occasions. > Admin command resetBalancerBandwidth > ------------------------------------ > > Key: HDFS-12859 > URL: https://issues.apache.org/jira/browse/HDFS-12859 > Project: Hadoop HDFS > Issue Type: New Feature > Components: balancer & mover > Affects Versions: 3.0.0-beta1 > Reporter: Jianfei Jiang > Fix For: 3.1.0 > > Attachments: HDFS-12859.patch > > > We can already set balancer bandwidth dynamically using command > setBalancerBandwidth. The setting value is not persistent and not stored in > configuration file. The different datanodes could their different default or > former setting in configuration. > When we suggested to develop a schedule balancer task which runs at midnight > everyday. We set a larger bandwidth for it and hope to reset the value after > finishing. However, we found it difficult to reset the different setting for > different datanodes as the setBalancerBandwidth command can only set the same > value to all datanodes. If we want to use unique setting for every datanode, > we have to reset the datanodes. > So it would be useful to have a command to synchronize the setting with the > configuration file. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org