apurtell commented on a change in pull request #4270:
URL: https://github.com/apache/hbase/pull/4270#discussion_r835408641



##########
File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerImpl.java
##########
@@ -224,13 +224,12 @@ static Throwable translateException(Throwable t) throws 
DoNotRetryIOException {
     if (t instanceof ServiceException) {
       ServiceException se = (ServiceException)t;
       Throwable cause = se.getCause();
-      if (cause != null && cause instanceof DoNotRetryIOException) {
+      if (cause instanceof DoNotRetryIOException) {

Review comment:
       Yes, that's true. 👍 




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