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

Generic History Service of TimelineServer sometimes not able to handle NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • timelineserver
    • None
    • ATS is running with AHS/GHS enabled to use TimelineStore.
      Running for 4-5 days, with many random example jobs running

    • 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

        1. YARN-2602.1.patch
          18 kB
          Zhijie Shen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: