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

View File

@ -644,14 +644,14 @@ void addBlocksToBeInvalidated(List<Block> blocklist) {
} }
/** /**
* The number of work items that are pending to be replicated * The number of work items that are pending to be replicated.
*/ */
int getNumberOfBlocksToBeReplicated() { int getNumberOfBlocksToBeReplicated() {
return pendingReplicationWithoutTargets + replicateBlocks.size(); 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 @VisibleForTesting
public int getNumberOfBlocksToBeErasureCoded() { public int getNumberOfBlocksToBeErasureCoded() {