TestMiniMRMapRedDebugScript loses exception details
---------------------------------------------------

                 Key: HADOOP-3725
                 URL: https://issues.apache.org/jira/browse/HADOOP-3725
             Project: Hadoop Core
          Issue Type: Bug
          Components: test
    Affects Versions: 0.19.0
            Reporter: Steve Loughran
            Priority: Minor
         Attachments: hadoop-3725.patch

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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to