Tassapol Athiapinya created YARN-1661:
-----------------------------------------

             Summary: AppMaster logs says failing even if an application does 
succeed.
                 Key: YARN-1661
                 URL: https://issues.apache.org/jira/browse/YARN-1661
             Project: Hadoop YARN
          Issue Type: Bug
          Components: applications/distributed-shell
    Affects Versions: 2.4.0
            Reporter: Tassapol Athiapinya
             Fix For: 2.4.0


Run:
/usr/bin/yarn  org.apache.hadoop.yarn.applications.distributedshell.Client -jar 
<distributed shell jar> -shell_command ls

Open AM logs. Last line would indicate AM failure even though container logs 
print good ls result.

{code}
2014-01-24 21:45:29,592 INFO  [main] distributedshell.ApplicationMaster 
(ApplicationMaster.java:finish(599)) - Application completed. Signalling finish 
to RM
2014-01-24 21:45:29,612 INFO  [main] impl.AMRMClientImpl 
(AMRMClientImpl.java:unregisterApplicationMaster(315)) - Waiting for 
application to be successfully unregistered.
2014-01-24 21:45:29,816 INFO  [main] distributedshell.ApplicationMaster 
(ApplicationMaster.java:main(267)) - Application Master failed. exiting
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to