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:
parent
2977bc6a14
commit
71a4acf74b
|
@ -1001,7 +1001,7 @@ public class ApplicationMaster {
|
|||
|
||||
@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();
|
||||
|
|
Loading…
Reference in New Issue