hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dashwang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5991) Yarn Distributed Shell does not print throwable t to App Master When failed to start container
Date Mon, 12 Dec 2016 09:16:58 GMT

    [ https://issues.apache.org/jira/browse/YARN-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741409#comment-15741409
] 

dashwang commented on YARN-5991:
--------------------------------

The source code of ApplicationMaster.java is:

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


that did not tell us the real reason for start container error!

> Yarn Distributed Shell does not print throwable t to App Master When failed to start
container
> ----------------------------------------------------------------------------------------------
>
>                 Key: YARN-5991
>                 URL: https://issues.apache.org/jira/browse/YARN-5991
>             Project: Hadoop YARN
>          Issue Type: Improvement
>         Environment: apache hadoop 2.7.1, centos 6.5
>            Reporter: dashwang
>            Priority: Minor
>
> 16/12/12 16:27:20 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER
for Container container_1481517162158_0027_01_000003
> 16/12/12 16:27:20 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER
for Container container_1481517162158_0027_01_000004
> 16/12/12 16:27:20 INFO impl.NMClientAsyncImpl: Processing Event EventType: START_CONTAINER
for Container container_1481517162158_0027_01_000002
> 16/12/12 16:27:20 INFO impl.ContainerManagementProtocolProxy: Opening proxy : slave02:22710
> 16/12/12 16:27:20 INFO impl.ContainerManagementProtocolProxy: Opening proxy : slave01:34140
> 16/12/12 16:27:20 INFO impl.ContainerManagementProtocolProxy: Opening proxy : master:52037
> 16/12/12 16:27:20 ERROR launcher.ApplicationMaster: Failed to start Container container_1481517162158_0027_01_000002



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message