Bryan Beaudreault created HBASE-26875:
-----------------------------------------

             Summary: RpcRetryingCallerImpl translateException ignores return 
value of recursive call
                 Key: HBASE-26875
                 URL: https://issues.apache.org/jira/browse/HBASE-26875
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.4.11
            Reporter: Bryan Beaudreault


RpcRetryingCallerImpl.translateException recurses if the translated exception 
is a ServiceException. The stated reason is because the ServiceException may be 
a RemoteException, which should be unwrapped. However, the return value of that 
recursion is ignored so the RemoteException is not being properly unwrapped 
(unless it's a DoNotRetryIOException in which case it will throw)

Looking at the similar translateException call in the AsyncRpcRetryingCaller, 
it looks like that bug was fixed there. We should similarly fix in the blocking 
client for branch-2.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to