Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18483

The RpcRetryingCaller#translateException doesn't handle RemoteException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Minor
    • Resolution: Unresolved
    • 1.3.1, 1.2.6
    • None
    • None

    Description

          if (t instanceof ServiceException) {
            ServiceException se = (ServiceException)t;
            Throwable cause = se.getCause();
            if (cause != null) {
              if (cause instanceof DoNotRetryIOException) {
                throw (DoNotRetryIOException)cause;
              } else if (cause instanceof NeedUnmanagedConnectionException) {
                throw new DoNotRetryIOException(cause);
              }
            }
            // Don't let ServiceException out; its rpc specific.
            t = cause;
            // t could be a RemoteException so go aaround again.
            translateException(t);                                  // here
          } else if (t instanceof DoNotRetryIOException) {
            throw (DoNotRetryIOException)t;
          } else if (t instanceof NeedUnmanagedConnectionException) {
            throw new DoNotRetryIOException(t);
          }
      

      Attachments

        Activity

          People

            takumi Hao Chan
            chia7712 Chia-Ping Tsai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: