Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Not A Problem
-
None
-
None
Description
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"
yarn logs – only hello is shown
LogType: stdout LogLength: 6 Log Contents: hello