use of com.microsoft.frameworklauncher.common.exit.ExitStatusValue in project pai by Microsoft.
the class ApplicationMaster method stopForContainer.
private void stopForContainer(int exitCode, String diagnostics, String customizedDiagnostics) {
ExitStatusValue partialValue = new ExitStatusValue(exitCode, diagnostics, null);
String fullDiagnostics = ExitDiagnostics.generateDiagnostics(partialValue, customizedDiagnostics);
ExitStatusKey exitStatusKey = ExitDiagnostics.extractExitStatusKey(fullDiagnostics);
stop(new StopStatus(exitStatusKey.toInt(), true, fullDiagnostics));
}
Aggregations