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 "Zhijie Shen (JIRA)" <ji...@apache.org> on 2014/11/24 22:39:12 UTC

[jira] [Comment Edited] (YARN-2900) Application Not Found in AHS throws Internal Server Error with NPE

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

Zhijie Shen edited comment on YARN-2900 at 11/24/14 9:38 PM:
-------------------------------------------------------------

[~jeagles], it seems that you're still using ApplicationHistoryManagerImpl and the old application history store.
{code}
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.convertToApplicationReport(ApplicationHistoryManagerImpl.java:128)
{code}

Otherwise, you should see ApplicationHistoryManagerOnTimelineStore instead. Per discussion in [YARN-2033|https://issues.apache.org/jira/browse/YARN-2033?focusedCommentId=14126073&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14126073], we will no longer support the old storage stack. 


was (Author: zjshen):
[~jeagles], it seems that you're still using ApplicationHistoryManagerImpl and the old application history store.
{code}
org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.convertToApplicationReport(ApplicationHistoryManagerImpl.java:128)
{code}

Otherwise, you should see ApplicationHistoryManagerOnTimelineStore instead. Per discussion in [YARN-2900|https://issues.apache.org/jira/browse/YARN-2033?focusedCommentId=14126073&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14126073], we will no longer support the old storage stack. 

> Application Not Found in AHS throws Internal Server Error with NPE
> ------------------------------------------------------------------
>
>                 Key: YARN-2900
>                 URL: https://issues.apache.org/jira/browse/YARN-2900
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jonathan Eagles
>            Assignee: Mit Desai
>
> Caused by: java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.convertToApplicationReport(ApplicationHistoryManagerImpl.java:128)
> 	at org.apache.hadoop.yarn.server.applicationhistoryservice.ApplicationHistoryManagerImpl.getApplication(ApplicationHistoryManagerImpl.java:118)
> 	at org.apache.hadoop.yarn.server.webapp.WebServices$2.run(WebServices.java:222)
> 	at org.apache.hadoop.yarn.server.webapp.WebServices$2.run(WebServices.java:219)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:415)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1679)
> 	at org.apache.hadoop.yarn.server.webapp.WebServices.getApp(WebServices.java:218)
> 	... 59 more



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