Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-2741

PackagesAnalyzer is unlikely to kill subprocesses in case of timeout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.5
    • 1.2.5
    • ambari-server
    • None

    Description

      watchdog_func at /src/main/python/ambari_agent/PackagesAnalyzer.py uses shell.killprocessgrp to kill subprocesses. This command is known to be not reliable (works not in all cases) , because not all subprocesses are in the same process group. That's why it ,may be better to replace it with shell.kill_process_with_children

      Attachments

        1. AMBARI-2741.patch
          0.9 kB
          Sumit Mohanty

        Activity

          People

            sumitmohanty Sumit Mohanty
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: