lfxy commented on code in PR #5143: URL: https://github.com/apache/hadoop/pull/5143#discussion_r1032740002
########## hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeDescriptor.java: ########## @@ -197,6 +197,9 @@ public Type getType() { /** A queue of blocks to be replicated by this datanode */ private final BlockQueue<BlockTargetPair> replicateBlocks = new BlockQueue<>(); + /** A queue of ec blocks to be replicated by this datanode. */ + private final BlockQueue<BlockTargetPair> ecReplicatedBlocks = + new BlockQueue<>(); /** A queue of blocks to be erasure coded by this datanode */ private final BlockQueue<BlockECReconstructionInfo> erasurecodeBlocks = new BlockQueue<>(); Review Comment: Yes, this way the naming is clearer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org