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

unchecked exceptions thrown in IPC Connection orphan clients

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.20.2
    • 0.21.0
    • ipc
    • None
    • Reviewed

    Description

      If the server sends back some malformed data, for example, receiveResponse() can end up with an incorrect call ID. Then, when it tries to find it in the calls map, it will end up with null and throw NPE in receiveResponse. This isn't caught anywhere, so the original IPC client ends up hanging forever instead of catching an exception. Another example is if the writable implementation itself throws an unchecked exception or OOME.

      We should catch Throwable in Connection.run() and shut down the connection if we catch one.

      Attachments

        1. hadoop-6723.txt
          3 kB
          Todd Lipcon
        2. hadoop-6723-20-1.patch
          3 kB
          Eli Collins

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: