Devaraj K created YARN-3883:
-------------------------------

             Summary: YarnClient.getApplicationReport() doesn't not give 
diagnostics for the FINISHED state applications some times 
                 Key: YARN-3883
                 URL: https://issues.apache.org/jira/browse/YARN-3883
             Project: Hadoop YARN
          Issue Type: Bug
          Components: resourcemanager
    Affects Versions: 2.7.0
            Reporter: Devaraj K


YarnClient.getApplicationReport() doesn't not give diagnostics for the FINISHED 
state applications some times 

Below one is the report from the YarnClient.getApplicationReport(), It doesn't 
show the diagnostics for the application which has FinalStatus as FAILED and 
YarnApplicationState as FINISHED.
{code:xml}
15/07/03 15:53:27 INFO yarn.Client:
         client token: N/A
         diagnostics: N/A
         ApplicationMaster host: XX.XXX.XX.XX
         ApplicationMaster RPC port: 0
         queue: default
         start time: 1435918986890
         final status: FAILED
         tracking URL: 
http://stobdtserver2:8088/proxy/application_1435848120635_0015/
         user: root
{code}


But we can see the Diagnostics information in the RM Web UI for the same 
application.
{code:xml}
YarnApplicationState:   FINISHED
Queue:  default
FinalStatus Reported by AM:     FAILED
Started:        Fri Jul 03 15:53:06 +0530 2015
Elapsed:        20sec
Tracking URL:   History
Log Aggregation Status  DISABLED
Diagnostics:    User class threw exception: java.lang.NumberFormatException: 
For input string: "xxxxxxxxxx"
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to