You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Devaraj K (JIRA)" <ji...@apache.org> on 2015/07/03 07:48:04 UTC

[jira] [Commented] (YARN-3883) YarnClient.getApplicationReport() doesn't not give diagnostics for the FINISHED state applications some times

    [ https://issues.apache.org/jira/browse/YARN-3883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612857#comment-14612857 ] 

Devaraj K commented on YARN-3883:
---------------------------------

It is occurring due to this reason,

While creating ApplicationReport as part of ClientRMService.getApplicationReport(), It is setting YarnApplicationState as FINISHED even when the RMAppState is in FINISHING to the application report. Diagnostics is not available when the RMAppState is FINISHING and it is setting to RMAppImpl during the AppFinishedTransition when it is moving to FINISHED state.

> 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)