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

Ability to signal containers

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: nodemanager
    • Labels:

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

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jlowe Jason Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                44 Start watching this issue

                Dates

                • Created:
                  Updated: