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

Ability to signal containers

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • nodemanager

    Description

      It would be nice if an ApplicationMaster could send signals to contaniers such as SIGQUIT, SIGUSR1, etc.

      For example, in order to replicate the jstack-on-task-timeout feature implemented by MAPREDUCE-1119 in Hadoop 0.21 the NodeManager needs an interface for sending SIGQUIT to a container. For that specific feature we could implement it as an additional field in the StopContainerRequest. However that would not address other potential features like the ability for an AM to trigger jstacks on arbitrary tasks without killing them. The latter feature would be a very useful debugging tool for users who do not have shell access to the nodes.

      Attachments

        1. YARN-445.patch
          79 kB
          Andrey Klochkov
        2. YARN-445--n2.patch
          80 kB
          Andrey Klochkov
        3. YARN-445--n3.patch
          80 kB
          Andrey Klochkov
        4. YARN-445--n4.patch
          81 kB
          Andrey Klochkov
        5. YARNContainers.png
          32 kB
          Ming Ma
        6. MRJob.png
          36 kB
          Ming Ma
        7. MRTasks.png
          39 kB
          Ming Ma
        8. YARN-445-signal-container-via-rm.patch
          131 kB
          Ming Ma

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              44 Start watching this issue

              Dates

                Created:
                Updated: