[
https://issues.apache.org/jira/browse/MAPREDUCE-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kumar Vavilapalli updated MAPREDUCE-3489:
-----------------------------------------------
Summary: EventDispatcher should have a call-back on errors for aiding tests
(was: Unit tests failing silently)
The issue of failing silently should be fixed after MAPREDUCE-3634. There, I
have changed the behavior of crashing dispatcher during tests to instead throw
exceptions. We will still need some kind of a call-back so that tests can fail
better. Currently all tests take care of this by explicit checks and timeouts.
> EventDispatcher should have a call-back on errors for aiding tests
> ------------------------------------------------------------------
>
> Key: MAPREDUCE-3489
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3489
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.0
> Reporter: Siddharth Seth
>
> If one of the dispatched events generates an exception - the dispatcher kills
> the JVM via a System.exit. Unit tests end up not running - but they don't
> fail either.
> TestTaskAttempt is currently running like this.
> Previously - have seen TestRecovery and TestJobHistoryParsing do the same.
> Most of the tests would need to be looked at.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira