Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2602

Generic History Service of TimelineServer sometimes not able to handle NPE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: timelineserver
    • Labels:
      None
    • Environment:

      ATS is running with AHS/GHS enabled to use TimelineStore.
      Running for 4-5 days, with many random example jobs running

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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:

      curl --negotiate -u : 'http://<TIMELINE_SERFVER_WEPBAPP_ADDR>/v1/applicationhistory/apps/application_1411579118376_0001'
      

      It ran successfully.
      However

      curl --negotiate -u : 'http://<TIMELINE_SERFVER_WEPBAPP_ADDR>/ws/v1/applicationhistory/apps'
      {"exception":"WebApplicationException","message":"java.lang.NullPointerException","javaClassName":"javax.ws.rs.WebApplicationException"}
      

      Failed with Internal server error 500.
      After looking at TimelineServer logs found that there was NPE:

        Attachments

          Activity

            People

            • Assignee:
              zjshen Zhijie Shen
              Reporter:
              karams Karam Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: