resetRecoveryWorkerNum
Syntax
resetRecoveryWorkerNum(newWorkerNum)
Arguments
newWokerNum is a positive integer that specifies the number of worker threads used for chunk recovery.
Details
Modify the number of worker threads used by the current node for chunk recovery online. This command can only be executed by the administrator on the data node.
Note: This command modifies the configuration parameter
recoveryWorkers during the current session only. To permanently
modify recoveryWorkers, change it in the configuration file (the default
value is 1).
Example
resetRecoveryWorkerNum(2)