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

TestMiniMRMapRedDebugScript loses exception details

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment