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

Application Priority field causes NPE in app timeline publish when Hadoop 2.7 based clients to 2.8+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.8.3
    • 3.1.0, 2.10.0, 2.9.2, 3.0.3
    • yarn
    • None
    • Reviewed

    Description

      [TimelineServiceV1Publisher|eclipse-javadoc:%E2%98%82=hadoop-yarn-server-resourcemanager/src%5C/main%5C/java%3Corg.apache.hadoop.yarn.server.resourcemanager.metrics%7BTimelineServiceV1Publisher.java%E2%98%83TimelineServiceV1Publisher].appCreated will cause NPE as we use like below

      entityInfo.put(ApplicationMetricsConstants.APPLICATION_PRIORITY_INFO, app.getApplicationPriority().getPriority());

      We have to handle this case while recovery.

       

      Attachments

        1. YARN-8068.001.patch
          2 kB
          Sunil G

        Issue Links

          Activity

            People

              sunilg Sunil G
              sunilg Sunil G
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: