yandrey321 commented on code in PR #10694:
URL: https://github.com/apache/ozone/pull/10694#discussion_r3549189788


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/impl/KeyValueStreamDataChannel.java:
##########
@@ -87,6 +105,11 @@ static void writeFully(ByteBuffer b, WriteMethod 
writeMethod)
     }
   }
 
+  public ContainerCommandRequestProto getPutBlockRequest() {
+    return Objects.requireNonNull(putBlockRequest.get(),
+        () -> "putBlockRequest == null, " + this);

Review Comment:
   do we have any meaningful toString() that would trace the state of the 
object in `'+ this'`?



-- 
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]

Reply via email to