You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Beaudreault (Jira)" <ji...@apache.org> on 2022/03/21 15:00:00 UTC
[jira] [Created] (HBASE-26875) RpcRetryingCallerImpl translateException ignores return value of recursive call
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)