Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-16026

YARN ATS Should Advertise a Version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.4.0
    • ambari-server
    • None

    Description

      In YARN's metainfo.xml, ATS does not have a versionAdvertised element. As a result, the absence of this element causes Ambari to think that YARN is not part of the hdp-select logic and we will never validate that it is reporting the correct version on startup.

      However, YARN ATS does have a version and an entry in hdp-select:

          if params.version and check_stack_feature(StackFeature.ROLLING_UPGRADE, params.version):
            conf_select.select(params.stack_name, "hadoop", params.version)
            stack_select.select("hadoop-yarn-timelineserver", params.version)
      
      [root@c6401 ~]# cat /usr/bin/hdp-select | grep "timeline"
                 "hadoop-yarn-timelineserver": "hadoop-yarn",
                               "hadoop-yarn-timelineserver"],
      

      This actually causes the ATS component to say it has a VERSION_MISMATCH since upgrading HDP changes it's version when we were not expecting it to:

      YARN_CLIENT 2.4.2.0-39 COMPLETE	UNKNOWN
      APP_TIMELINE_SERVER	2.4.2.0-39 VERSION_MISMATCH	UNSECURED
      ZOOKEEPER_SERVER	 2.4.2.0-39 COMPLETE	UNSECURED
      

      Attachments

        1. AMBARI-16026.patch
          0.6 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: