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

IPC doesn't properly handle IOEs thrown by socket factory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.3, 0.21.0, 0.22.0
    • Fix Version/s: 0.20.3, 0.21.0, 0.22.0
    • Component/s: ipc
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If the socket factory throws an IOE inside setupIOStreams, then handleConnectionFailure will be called with socket still null, and thus generate an NPE on socket.close(). This ends up orphaning clients, etc.

        Attachments

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

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: