HDFS-12032. Inaccurate comment on DatanodeDescriptor#getNumberOfBlocksToBeErasureCoded.

This commit is contained in:
Andrew Wang 2017-06-26 10:54:01 -07:00
parent 48f4a229a9
commit 06c8ca3bb3
1 changed files with 2 additions and 2 deletions

View File

@ -644,14 +644,14 @@ public class DatanodeDescriptor extends DatanodeInfo {
}
/**
* The number of work items that are pending to be replicated
* The number of work items that are pending to be replicated.
*/
int getNumberOfBlocksToBeReplicated() {
return pendingReplicationWithoutTargets + replicateBlocks.size();
}
/**
* The number of work items that are pending to be replicated
* The number of work items that are pending to be reconstructed.
*/
@VisibleForTesting
public int getNumberOfBlocksToBeErasureCoded() {