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

This commit is contained in:
Takanobu Asanuma 2022-04-08 18:38:40 +09:00
parent bfde9102be
commit 37650ced81
1 changed files with 4 additions and 0 deletions

View File

@ -2443,6 +2443,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