Tassapol Athiapinya created YARN-1173:
-----------------------------------------

             Summary: Run -shell_command "echo Hello" has empty stdout
                 Key: YARN-1173
                 URL: https://issues.apache.org/jira/browse/YARN-1173
             Project: Hadoop YARN
          Issue Type: Bug
          Components: applications/distributed-shell
            Reporter: Tassapol Athiapinya
             Fix For: 2.1.1-beta


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:
{panel}
-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:
{panel}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to