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

TestProcfsProcessTree#testProcessTree() doesn't wait long enough for the process to die

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: None
    • Labels:
      None

      Description

      TestProcfsProcessTree#testProcessTree fails occasionally with the following stack trace

      Stack Trace:
      junit.framework.AssertionFailedError: expected:<false> but was:<true>
              at org.apache.hadoop.util.TestProcfsBasedProcessTree.testProcessTree(TestProcfsBasedProcessTree.java)
      

      kill -9 is executed asynchronously, the signal is delivered when the process comes out of the kernel (sys call). Checking if the process died immediately after can fail at times.

        Attachments

        1. yarn-485.patch
          2 kB
          Karthik Kambatla
        2. mr-5005.patch
          3 kB
          Karthik Kambatla

          Activity

            People

            • Assignee:
              kasha Karthik Kambatla
              Reporter:
              kasha Karthik Kambatla
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: