Details
-
New Feature
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Fix due to the unit test error.
-
Patch
Description
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.