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

[Atsv2] system entities retrieval in REST throws NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It is seen that when evene try to retrieval system entities throw NPE. URL /ws/v2/timeline/apps/

      {app-id}

      /entities

      1. for YARN_APPLICATION and YARN_FLOW_RUN
            {
                "exception": "WebApplicationException",
                "message": "java.lang.NullPointerException: userId shouldn't be null",
                "javaClassName": "javax.ws.rs.WebApplicationException"
            }
        

      May be these entities can be skipped if not intended to use via REST apis.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rohithsharma Rohith Sharma K S
                Reporter:
                rohithsharma Rohith Sharma K S
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: