Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1168

Cannot run "echo \"Hello World\""

    XMLWordPrintableJSON

    Details

      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
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tassapola Tassapol Athiapinya
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: