[ 
https://issues.apache.org/jira/browse/HADOOP-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485923
 ] 

Tom White commented on HADOOP-1001:
-----------------------------------

Rather than using a special test case (ExceptionTestCase) it is usually simpler 
to use the following idiom in a regular test method (which is more general than 
the one in the javadoc for ExceptionTestCase):

 try {
   shouldThrow();
   fail("Should have thrown SpecialException.");
 } catch (SpecialException e) {
   // expected
 }
// the rest of the test...


> the output of the map is not type checked against the specified types
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-1001
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1001
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.11.0
>            Reporter: Owen O'Malley
>         Assigned To: Tahir Hashmi
>             Fix For: 0.13.0
>
>         Attachments: 1001.patch, 1001.patch, 1001.patch, 
> TestMapOutputType.java
>
>
> The output of the map is not checked against the types specified in the 
> JobConf leading to hard to diagnose bugs.

-- 
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