hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-307) NodeManager should log container launch command.
Date Thu, 03 Jan 2013 00:56:13 GMT

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

Lohit Vijayarenu commented on YARN-307:

For example I am seeing container launch failure without any useful message like this.
2013-01-03 00:33:49,045 DEBUG org.apache.hadoop.yarn.server.nodemanager.NodeStatusUpdaterImpl:
Node's health-status : true,
2013-01-03 00:33:49,090 WARN org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor:
Exit code from task is : 1
2013-01-03 00:33:49,090 INFO org.apache.hadoop.yarn.server.nodemanager.ContainerExecutor:

Script seems to exit with exit code of 1. To debug further, I wanted to see the command being
execute, but in the logs I can see only the line as shown below

2013-01-03 00:33:46,591 INFO org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor:
launchContainer: [bash, /data/disk2/yarn/local/usercache/hadoop/appcache/application_1357147147433_0011/container_1357147147433_0011_01_000001/default_container_executor.sh]

Once task fails, this directory is cleaned up. There seems to be no easy way to find out why
container is failing. It would be good to log contents of default_container_executor.sh along
with the path.
> NodeManager should log container launch command.
> ------------------------------------------------
>                 Key: YARN-307
>                 URL: https://issues.apache.org/jira/browse/YARN-307
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.0.3-alpha
>            Reporter: Lohit Vijayarenu
> NodeManager's DefaultContainerExecutor seems to log only path of default container executor
script instead of contents of script. It would be good to log the execution command so that
one could see what is being launched.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message