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

Run -shell_command "echo Hello" has empty stdout

    XMLWordPrintableJSON

    Details

      Description

      Run:
      $ /usr/bin/yarn org.apache.hadoop.yarn.applications.distributedshell.Client jar /usr/lib/hadoop-yarn/hadoop-yarn-applications-distributedshell*.jar -shell_command "echo Hello"

      Get logs with YARN logs:

      -bash-4.1$ yarn logs -applicationId application_1378424977532_0071

      Container: container_1378424977532_0071_01_000002 on myhost
      =======================================================================================
      LogType: stderr
      LogLength: 0
      Log Contents:

      LogType: stdout
      LogLength: 1
      Log Contents:

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: