ChenSammi commented on code in PR #7221:
URL: https://github.com/apache/ozone/pull/7221#discussion_r1816274535
##########
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java:
##########
@@ -163,9 +163,13 @@ public synchronized void initialize() throws IOException {
try {
blockData = getBlockData();
chunks = blockData.getChunksList();
+ LOG.debug("Block {} has block data {}", blockID, blockData);
if (blockInfo != null && blockInfo.isUnderConstruction()) {
// use the block length from DN if block is under construction.
length = blockData.getSize();
+ LOG.debug("Updated block length to {} for block {}", length,
blockID);
+ } else {
+ LOG.debug("blockInfo = {}", blockInfo);
Review Comment:
Is this debug log still necessary?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]