Configuring concurrent moves
Learn how to configure concurrent moves for the DataNode and Balancer to prevent the balancer from taking too many resources from the DataNode and interfering with normal cluster operations.
The property dfs.datanode.balance.max.concurrent.moves
sets the
maximum number of threads used by the DataNode balancer for pending moves. It is a
throttling mechanism to prevent the balancer from taking too many resources from the
DataNode and interfering with normal cluster operations. Increasing the value allows
the balancing process to complete more quickly. Decreasing the value allows
rebalancing to complete more slowly, but is less likely to compete for resources
with other tasks on the DataNode. To use this property, you need to set the value on
both the DataNode and the Balancer.
-
Configure concurrent moves on the DataNode.
-
Configure concurrent moves on the Balancer.