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

RPC doesn not handle exceptions correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • ipc
    • None

    Description

      1. Examining HADOOP-264 bug I realized that not all rpc server exceptions are actually returned to the client. Particularly, if an exception happens in
      org.apache.hadoop.ipc.Server.Connection.run()
      for example inside
      param.readFields(in);
      then it logged but never returned back to the client.
      Client simply timeouts in this case, which is not exactly what one would expect.

      2. On the way back
      org.apache.hadoop.ipc.Client.call()
      rpc client always throws a RemoteException, rather than the exception wrapped into this RemoteException.

      Attachments

        Issue Links

          Activity

            People

              omalley Owen O'Malley
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: