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

TestMiniMRMapRedDebugScript loses exception details

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • test
    • None
    • Reviewed

    Description

      The test class org.apache.hadoop.mapred.TestMiniMRMapRedDebugScript catches and prints exception details then calls fail(), rather than relaying the exception up to the calling test framework. this make the full stack trace harder to obtain. It could be a relic of the class having its own main() entry point.

      trivial to fix: add Exception to the test signature, move the catch/print into the main() method for that entry point

      Attachments

        1. hadoop-3725.patch
          2 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: