[ https://issues.apache.org/jira/browse/YARN-2602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154686#comment-14154686 ]
Hudson commented on YARN-2602: ------------------------------ FAILURE: Integrated in Hadoop-Yarn-trunk #697 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/697/]) YARN-2602. Fixed possible NPE in ApplicationHistoryManagerOnTimelineStore. Contributed by Zhijie Shen (jianhe: rev bbff96be48119774688981d04baf444639135977) * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/metrics/TestSystemMetricsPublisher.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/metrics/SystemMetricsPublisher.java * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/ApplicationHistoryManagerOnTimelineStore.java * hadoop-yarn-project/CHANGES.txt * hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/TestApplicationHistoryManagerOnTimelineStore.java > 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 > Fix For: 2.6.0 > > 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)