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

Zhijie Shen commented on YARN-2602:
-----------------------------------

The problem is that YARN_APPLICATION_VIEW_ACLS field can be null. For example, 
if it is a DS app, the client leaves the ACL field null.

> Generic History Service of TimelineServer sometimes not able to handle NPE
> --------------------------------------------------------------------------
>
>                 Key: YARN-2602
>                 URL: https://issues.apache.org/jira/browse/YARN-2602
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>    Affects Versions: 2.6.0
>         Environment: ATS is running with AHS/GHS enabled to use TimelineStore.
> Running for 4-5 days, with many random example jobs running
>            Reporter: Karam Singh
>            Assignee: Zhijie Shen
>
> ATS is running with AHS/GHS enabled to use TimelineStore.
> Running for 4-5 day, with many random example jobs running .
> When I ran WS API for AHS/GHS:
> {code}
> curl --negotiate -u : 
> 'http://<TIMELINE_SERFVER_WEPBAPP_ADDR>/v1/applicationhistory/apps/application_1411579118376_0001'
> {code}
> It ran successfully.
> However
> {code}
> curl --negotiate -u : 
> 'http://<TIMELINE_SERFVER_WEPBAPP_ADDR>/ws/v1/applicationhistory/apps'
> {"exception":"WebApplicationException","message":"java.lang.NullPointerException","javaClassName":"javax.ws.rs.WebApplicationException"}
> {code}
> Failed with Internal server error 500.
> After looking at TimelineServer logs found that there was NPE:



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

Reply via email to