hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-3755) Log the command of launching containers
Date Thu, 27 Oct 2016 20:08:58 GMT

     [ https://issues.apache.org/jira/browse/YARN-3755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vinod Kumar Vavilapalli resolved YARN-3755.
-------------------------------------------
    Resolution: Duplicate

Actually I think this is a dup of YARN-4309 which now dumps a lot more useful information
in addition to command line, env etc.

Closing this as duplicate for now, please reopen if you disagree.

> Log the command of launching containers
> ---------------------------------------
>
>                 Key: YARN-3755
>                 URL: https://issues.apache.org/jira/browse/YARN-3755
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.7.0
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>              Labels: oct16-easy
>         Attachments: YARN-3755-1.patch, YARN-3755-2.patch
>
>
> In the resource manager log, yarn would log the command for launching AM, this is very
useful. But there's no such log in the NN log for launching containers. It would be difficult
to diagnose when containers fails to launch due to some issue in the commands. Although user
can look at the commands in the container launch script file, this is an internal things of
yarn, usually user don't know that. In user's perspective, they only know what commands they
specify when building yarn application. 
> {code}
> 2015-06-01 16:06:42,245 INFO org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher:
Command to launch container container_1433145984561_0001_01_000001 : $JAVA_HOME/bin/java -server
-Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN  -Xmx1024m  -Dlog4j.configuratorClass=org.apache.tez.common.TezLog4jConfigurator
-Dlog4j.configuration=tez-container-log4j.properties -Dyarn.app.container.log.dir=<LOG_DIR>
-Dtez.root.logger=info,CLA -Dsun.nio.ch.bugLevel='' org.apache.tez.dag.app.DAGAppMaster 1><LOG_DIR>/stdout
2><LOG_DIR>/stderr
> {code}



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

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


Mime
View raw message