[
https://issues.apache.org/jira/browse/YARN-1168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tassapol Athiapinya resolved YARN-1168.
---------------------------------------
Resolution: Not A Problem
> Cannot run "echo \"Hello World\""
> ---------------------------------
>
> Key: YARN-1168
> URL: https://issues.apache.org/jira/browse/YARN-1168
> Project: Hadoop YARN
> Issue Type: Bug
> Components: applications/distributed-shell
> Reporter: Tassapol Athiapinya
> Priority: Critical
> Fix For: 2.2.0
>
>
> Run
> $ ssh localhost "echo \"Hello World\""
> with bash does succeed. Hello World is shown in stdout.
> Run distributed shell with similar echo command. That is either
> $ /usr/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client
> -jar /usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell-2.*.jar
> -shell_command echo -shell_args "\"Hello World\""
> or
> $ /usr/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client
> -jar /usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell-2.*.jar
> -shell_command echo -shell_args "Hello World"
> {code:title=yarn logs -- only hello is shown}
> LogType: stdout
> LogLength: 6
> Log Contents:
> hello
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)