[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Douglas updated MAPREDUCE-1366:
-------------------------------------

    Attachment: M1366-0.patch

Modified MiniMRCluster to throw {{RuntimeException}} if JobTracker/TaskTracker 
startup/shutdown fails.

Tested the patch by inserting {{IllegalArgumentException}} throws in JT/TT 
init, offerService, and shutdown. In each instance, the test failed with the 
appropriate error.

> Tests should not timeout if TaskTracker/JobTracker crashes in MiniMRCluster
> ---------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1366
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1366
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Amareshwari Sriramadasu
>             Fix For: 0.22.0
>
>         Attachments: M1366-0.patch
>
>
> Currently tests timeout if there is any problem bringing up JobTracker or 
> TaskTracker in MiniMRCluster. Instead tests should fail saying JT/TT crashed.
> See test timeout on MAPREDUCE-1365

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