srinireddy2020 commented on code in PR #7719:
URL: https://github.com/apache/hbase/pull/7719#discussion_r2785669454


##########
hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java:
##########
@@ -378,8 +379,8 @@ public void channelInactive(ChannelHandlerContext ctx) 
throws Exception {
         @Override
         public void userEventTriggered(ChannelHandlerContext ctx, Object evt) 
throws Exception {
           if (evt instanceof IdleStateEvent && ((IdleStateEvent) evt).state() 
== READER_IDLE) {
-            promise
-              .tryFailure(new IOException("Timeout(" + timeoutMs + "ms) 
waiting for response"));
+            promise.tryFailure(new IOException(

Review Comment:
   In the method parameter already having the DN details so no need to call 
channel.remoteAddress.



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

Reply via email to