Details
-
Test
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
TestDriver#testDriver relies on System.exit() call from ProgramDriver#driver() because LauncherSecurityManager latches onto checkExit().
In hadoop 2.0, ProgramDriver#driver() has the following code:
public void driver(String[] argv) throws Throwable { if (run(argv) == -1) { System.exit(-1); } }
Meaning, if the execution is successful, System.exit() call would be bypassed.
This leads to test failure such as the following:
Attachments
Attachments
Issue Links
- depends upon
-
MAPREDUCE-5156 Hadoop-examples-1.x.x.jar cannot run on Yarn
- Closed