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

Process group remains alive after container process is killed externally

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.6.0
    • Component/s: nodemanager
    • Labels:
      None
    • Environment:

      CentOS 6.4

    • Hadoop Flags:
      Reviewed

      Description

      If the main container process is killed externally, ContainerLaunch does not kill the rest of the process group. Before sending the event that results in the ContainerLaunch.containerCleanup method being called, ContainerLaunch sets the "completed" flag to true. Then when cleaning up, it doesn't try to read the pid file if the completed flag is true. If it read the pid file, it would proceed to send the container a kill signal. In the case of the DefaultContainerExecutor, this would kill the process group.

        Attachments

        1. YARN-1922.6.patch
          7 kB
          Billie Rinaldi
        2. YARN-1922.5.patch
          8 kB
          Billie Rinaldi
        3. YARN-1922.4.patch
          8 kB
          Billie Rinaldi
        4. YARN-1922.3.patch
          7 kB
          Billie Rinaldi
        5. YARN-1922.2.patch
          7 kB
          Billie Rinaldi
        6. YARN-1922.1.patch
          2 kB
          Billie Rinaldi

          Issue Links

            Activity

              People

              • Assignee:
                billie.rinaldi Billie Rinaldi
                Reporter:
                billie.rinaldi Billie Rinaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: