Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.23.0
-
None
-
None
Description
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.
Attachments
Issue Links
- is blocked by
-
MAPREDUCE-3634 All daemons should crash instead of hanging around when their EventHandlers get exceptions
- Resolved
Definately System.exit is not the right thing in a library. Sigh! I knew that when I wrote that and intended to remove it. Couldn't get chance to get to it.
I think we should get rid of it and instead have a error handling callback registered to Dispatcher.