chg
This commit is contained in:
parent
e552ac401e
commit
3ed9ec808f
@ -217,13 +217,9 @@ public class ApplicationMaster {
|
|||||||
success = finishedTasks.size() == numTasks;
|
success = finishedTasks.size() == numTasks;
|
||||||
LOG.info("Application completed. Stopping running containers");
|
LOG.info("Application completed. Stopping running containers");
|
||||||
diagnostics = "Diagnostics." + ", num_tasks" + this.numTasks
|
diagnostics = "Diagnostics." + ", num_tasks" + this.numTasks
|
||||||
+ ", finished=" + this.finishedTasks.size() + ", failed="
|
+ ", finished=" + this.finishedTasks.size() + ", failed="
|
||||||
+ this.killedTasks.size() + "\n" + this.abortDiagnosis;
|
+ this.killedTasks.size() + "\n" + this.abortDiagnosis;
|
||||||
if (success) {
|
nmClient.stop();
|
||||||
nmClient.stop();
|
|
||||||
} else {
|
|
||||||
throw new Exception("Application not successful" + diagnostics);
|
|
||||||
}
|
|
||||||
LOG.info(diagnostics);
|
LOG.info(diagnostics);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
diagnostics = e.toString();
|
diagnostics = e.toString();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user