You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by we...@apache.org on 2018/04/29 23:20:46 UTC
reef git commit: [REEF-2014] Force-exit
AzureBatchBootstrapREEFLauncher
Repository: reef
Updated Branches:
refs/heads/master c0ddb8d3f -> 35df8205f
[REEF-2014] Force-exit AzureBatchBootstrapREEFLauncher
This adds `System.exit(0)` in `AzureBatchBootstrapREEFLauncher`, which
applies the same logic in REEFLauncher.
JIRA:
[REEF-2014](https://issues.apache.org/jira/browse/REEF-2014)
Pull request:
This closes #1455
Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/35df8205
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/35df8205
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/35df8205
Branch: refs/heads/master
Commit: 35df8205febfb565f73e3cf502639d9d17731acd
Parents: c0ddb8d
Author: Chenxi Zhao <33...@users.noreply.github.com>
Authored: Fri Apr 27 19:39:58 2018 -0700
Committer: Markus Weimer <we...@apache.org>
Committed: Sun Apr 29 16:18:31 2018 -0700
----------------------------------------------------------------------
.../reef/bridge/client/AzureBatchBootstrapREEFLauncher.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/reef/blob/35df8205/lang/java/reef-bridge-client/src/main/java/org/apache/reef/bridge/client/AzureBatchBootstrapREEFLauncher.java
----------------------------------------------------------------------
diff --git a/lang/java/reef-bridge-client/src/main/java/org/apache/reef/bridge/client/AzureBatchBootstrapREEFLauncher.java b/lang/java/reef-bridge-client/src/main/java/org/apache/reef/bridge/client/AzureBatchBootstrapREEFLauncher.java
index 481ae53..35a1e59 100644
--- a/lang/java/reef-bridge-client/src/main/java/org/apache/reef/bridge/client/AzureBatchBootstrapREEFLauncher.java
+++ b/lang/java/reef-bridge-client/src/main/java/org/apache/reef/bridge/client/AzureBatchBootstrapREEFLauncher.java
@@ -92,6 +92,10 @@ public final class AzureBatchBootstrapREEFLauncher {
} catch (final InjectionException ex) {
throw fatal("Unable to configure and start REEFEnvironment.", ex);
}
+
+ LOG.log(Level.INFO, "Exiting BootstrapLauncher.main()");
+
+ System.exit(0); // TODO[REEF-1715]: Should be able to exit cleanly at the end of main()
}
private static Configuration generateConfigurationFromJobSubmissionParameters(final File params) throws IOException {