hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tassapol Athiapinya (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1334) YARN should give more info on errors when running failed distributed shell command
Date Mon, 21 Oct 2013 23:36:42 GMT

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

Tassapol Athiapinya commented on YARN-1334:
-------------------------------------------

Can you please check if this part is correct? 
   -nodeAddress  = getConf().get(YarnConfiguration.NM_ADDRESS))
Does it dynamically retrieves NM address based on container ID? If not, you can safely remove
this part.

> YARN should give more info on errors when running failed distributed shell command
> ----------------------------------------------------------------------------------
>
>                 Key: YARN-1334
>                 URL: https://issues.apache.org/jira/browse/YARN-1334
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: applications/distributed-shell
>    Affects Versions: 2.2.1
>            Reporter: Tassapol Athiapinya
>            Assignee: Xuan Gong
>             Fix For: 2.2.1
>
>         Attachments: YARN-1334.1.patch
>
>
> Run incorrect command such as:
> /usr/bin/yarn  org.apache.hadoop.yarn.applications.distributedshell.Client -jar <distributedshell
jar> -shell_command ./test1.sh -shell_script ./
> would show shell exit code exception with no useful message. It should print out sysout/syserr
of containers/AM of why it is failing.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message