resetDfsRebalanceConcurrency

Syntax

resetDfsRebalanceConcurrency(newConcurrecyNum)

Arguments

newConcurrecyNum is a positive integer that specifies the maximum number of workers allocated for chunk rebalance.

Details

Modify the number of workers used by the current node for chunk rebalance online. This function can only be executed by the administrator on the controller.

Note: This function modifies the configuration parameter dfsRebalanceConcurrency during the current session only. To permanently modify dfsRebalanceConcurrency, change it in the configuration file (the default value is twice the number of all nodes except the agent).

Examples

resetDfsRebalanceConcurrency(2)

Related functions: getDfsRebalanceConcurrency