YARN-5991. Yarn Distributed Shell does not print throwable t to App Master When failed to start container

(Contributed by Jim Frankola via Daniel Templeton)
This commit is contained in:
Daniel Templeton 2017-01-06 14:26:08 -08:00
parent 2977bc6a14
commit 71a4acf74b

View File

@ -1001,7 +1001,7 @@ public void onContainerResourceIncreased(
@Override
public void onStartContainerError(ContainerId containerId, Throwable t) {
LOG.error("Failed to start Container " + containerId);
LOG.error("Failed to start Container " + containerId, t);
containers.remove(containerId);
applicationMaster.numCompletedContainers.incrementAndGet();
applicationMaster.numFailedContainers.incrementAndGet();