This repository was archived by the owner on Mar 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11-- Oozie 5.3.0 release (trunk - unreleased)
22
3+ OOZIE-3716 Invocation of Main class completed Message is skipped when LauncherSecurityManager calls system exit (khr9603 via dionusos)
34OOZIE-3695 [sharelib-hive2] Fix current SpotBugs discovered issues in Oozie's sharelib-hive2 module (jmakai via dionusos)
45OOZIE-3694 [sharelib-hive] Fix current SpotBugs discovered issues in Oozie's sharelib-hive module (jmakai via dionusos)
56OOZIE-3690 [server] Fix current SpotBugs discovered issues in Oozie's server module (jmakai via dionusos)
Original file line number Diff line number Diff line change @@ -410,9 +410,6 @@ private boolean runActionMain(final ErrorHolder eHolder) throws Exception {
410410 // Enable LauncherSecurityManager to catch System.exit calls
411411 launcherSecurityManager .enable ();
412412 mainMethod .invoke (null , (Object ) mainArgs );
413- System .out .println ();
414- System .out .println ("<<< Invocation of Main class completed <<<" );
415- System .out .println ();
416413 actionMainExecutedProperly = true ;
417414 } catch (InvocationTargetException ex ) {
418415 actionMainExecutedProperly = handleInvocationError (eHolder , ex );
@@ -426,6 +423,11 @@ private boolean runActionMain(final ErrorHolder eHolder) throws Exception {
426423 } finally {
427424 // Disable LauncherSecurityManager
428425 launcherSecurityManager .disable ();
426+ if (actionMainExecutedProperly ) {
427+ System .out .println ();
428+ System .out .println ("<<< Invocation of Main class completed <<<" );
429+ System .out .println ();
430+ }
429431 }
430432 return actionMainExecutedProperly ;
431433 }
You can’t perform that action at this time.
0 commit comments