Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5154

DelayedProcessKiller can kill the wrong process if pid is recycled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8.0, 2.7.2, 2.6.4
    • None
    • nodemanager
    • None

    Description

      YARN-4459 reduced the chance of the container-executor accidentally killing the wrong process when pids are recycled, but it can still occur. We should improve the DelayedProcessKiller to cancel the timer if the container exits between the deliverly of the two signals and/or implement some sanity checks in the executor just before delivering the signal to try to avoid killing the wrong thing.

      Attachments

        Issue Links

          Activity

            People

              hex108 Jun Gong
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: