[ https://issues.apache.org/jira/browse/YARN-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhijie Shen updated YARN-2602: ------------------------------ Attachment: YARN-2602.1.patch Create a patch to fix the problem > 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 > Attachments: YARN-2602.1.patch > > > 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)