Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8894

GenericTestUtils.waitFor should dump thread stacks on timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.3-alpha
    • None
    • None

    Description

      Many tests use this utility to wait for a condition to become true. In the event that it times out, we should dump all the thread stack traces, in case the timeout was due to a deadlock. This should make it easier to debug scenarios like HDFS-4001.

      Attachments

        1. hadoop-8894.txt
          3 kB
          Todd Lipcon
        2. hadoop-8894.txt
          3 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: