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

NM should handle cleaning up containers when it shuts down

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.3-alpha, 0.23.6
    • Component/s: nodemanager
    • Labels:
      None

      Description

      Ideally, the NM should wait for a limited amount of time when it gets a shutdown signal for existing containers to complete and kill the containers ( if we pick an aggressive approach ) after this time interval.

      For NMs which come up after an unclean shutdown, the NM should look through its directories for existing container.pids and try and kill an existing containers matching the pids found.

        Attachments

        1. YARN-72.patch
          8 kB
          Sandy Ryza
        2. YARN-72-1.patch
          23 kB
          Sandy Ryza
        3. YARN-72-2.patch
          24 kB
          Sandy Ryza
        4. YARN-72-2.patch
          24 kB
          Sandy Ryza
        5. YARN-72-2.patch
          24 kB
          Sandy Ryza

          Issue Links

            Activity

              People

              • Assignee:
                sandyr Sandy Ryza
                Reporter:
                hitesh Hitesh Shah
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: