Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7897

ProtobufRPCEngine client side exception mechanism is not consistent with WritableRpcEngine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.24.0
    • 2.0.0-alpha
    • ipc
    • None
    • Reviewed

    Description

      In ProtobufRpcEngine the client side exceptions are wrapped in RpcClientException. The RpcClientException is used to create RemoteException which is set as cause in the thrown ServiceException. However WritableRpcEngine throws the client encountered exception as is. This difference in behavior causes, many tests to fail in the existing unit tests, which expect the client invoker() to thrown the exception as is. This jira makes the ProtobufRpcEngine behavior consistent with that of WritableRpcEngine.

      Attachments

        1. HADOOP-7897.txt
          4 kB
          Suresh Srinivas
        2. HADOOP-7897.txt
          4 kB
          Suresh Srinivas

        Activity

          People

            sureshms Suresh Srinivas
            sureshms Suresh Srinivas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: