HDFS-16497. EC: Add param comment for liveBusyBlockIndices with HDFS-14768. Contributed by caozhiqiang.

(cherry picked from commit 37650ced81)
This commit is contained in:
Takanobu Asanuma 2022-04-08 18:38:40 +09:00
parent 160b6d106d
commit 30afe7ca20

View File

@ -2396,6 +2396,10 @@ private DatanodeDescriptor getDatanodeDescriptorFromStorage(
* replicas of the given block.
* @param liveBlockIndices List to be populated with indices of healthy
* blocks in a striped block group
* @param liveBusyBlockIndices List to be populated with indices of healthy
* blocks in a striped block group in busy DN,
* which the recovery work have reached their
* replication limits
* @param priority integer representing replication priority of the given
* block
* @return the array of DatanodeDescriptor of the chosen nodes from which to