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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.1.0-beta
    • None
    • 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. mr-5005.patch
          3 kB
          Karthik Kambatla
        2. yarn-485.patch
          2 kB
          Karthik Kambatla

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: