protected void setContainerCompletedStatus(int exitCode) { ContainerId containerId = container.getContainerId(); completed.set(true); exec.deactivateContainer(containerId); try { if (!container.shouldRetry(exitCode)) { context.getNMStateStore().storeContainerCompleted(containerId, exitCode); } } catch (IOException e) { LOG.error("Unable to set exit code for container " + containerId); } }
exec.deactivateContainer(containerId);
if (notInterrupted) { this.completed.set(true); exec.deactivateContainer(containerId); try { getContext().getNMStateStore().storeContainerCompleted(containerId,
if (notInterrupted) { this.completed.set(true); exec.deactivateContainer(containerId); try { getContext().getNMStateStore().storeContainerCompleted(containerId,
exec.deactivateContainer(containerId);
if (notInterrupted) { this.completed.set(true); exec.deactivateContainer(containerId); try { getContext().getNMStateStore().storeContainerCompleted(containerId,
if (notInterrupted) { this.completed.set(true); exec.deactivateContainer(containerId); try { getContext().getNMStateStore()
if (notInterrupted) { this.completed.set(true); exec.deactivateContainer(containerId); try { getContext().getNMStateStore().storeContainerCompleted(containerId,
exec.deactivateContainer(containerId); Path pidFilePath = launch.getPidFilePath(); if (LOG.isDebugEnabled()) {
} finally { completed.set(true); exec.deactivateContainer(containerID); try { context.getNMStateStore().storeContainerCompleted(containerID, ret);
} finally { completed.set(true); exec.deactivateContainer(containerID); try { context.getNMStateStore().storeContainerCompleted(containerID, ret);
} finally { completed.set(true); exec.deactivateContainer(containerID); try { context.getNMStateStore().storeContainerCompleted(containerID, ret);