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

2015-07-02 Thread Devaraj K (JIRA)

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

Devaraj K commented on YARN-3883:
-

Please go ahead [~brahmareddy].

> 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
>Assignee: Brahma Reddy Battula
>
> 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 StatusDISABLED
> Diagnostics:  User class threw exception: java.lang.NumberFormatException: 
> For input string: "xx"
> {code}



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


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

2015-07-02 Thread Brahma Reddy Battula (JIRA)

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

Brahma Reddy Battula commented on YARN-3883:


[~devaraj.k] I would like to work on this.. If you already started working on 
this, you can reassign.. thanks

> 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
>Assignee: Brahma Reddy Battula
>
> 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 StatusDISABLED
> Diagnostics:  User class threw exception: java.lang.NumberFormatException: 
> For input string: "xx"
> {code}



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


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

2015-07-02 Thread Devaraj K (JIRA)

[ 
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 StatusDISABLED
> Diagnostics:  User class threw exception: java.lang.NumberFormatException: 
> For input string: "xx"
> {code}



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