Apache9 commented on code in PR #7389:
URL: https://github.com/apache/hbase/pull/7389#discussion_r2436113496


##########
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java:
##########
@@ -519,6 +520,7 @@ public Pair<Message, ExtendedCellScanner> call(RpcCall 
call, MonitoredRPCHandler
       // increment the number of requests that were exceptions.
       metrics.exception(e);
 
+      if (e instanceof DoNotRetryRuntimeException) throw new 
DoNotRetryIOException(e);

Review Comment:
   Let me check the related code to see if there are other ways to throw 
checked exception out...
   If not, maybe this is the only way?



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