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

IPC leaks call parameters when exceptions thrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20.2, 0.21.0, 0.22.0
    • 0.20.3, 0.20.205.0, 0.21.1, 0.22.0
    • None
    • None
    • Reviewed

    Description

      HADOOP-6498 moved the calls.remove() call lower into the SUCCESS clause of receiveResponse(), but didn't put a similar calls.remove into the ERROR clause. So, any RPC call that throws an exception ends up orphaning the Call object in the connection's "calls" hashtable. This prevents cleanup of the connection and is a memory leak for the call parameters.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: