[ https://issues.apache.org/jira/browse/AMBARI-16026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254661#comment-15254661 ]
Hudson commented on AMBARI-16026: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #4717 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4717/]) AMBARI-16026 - YARN ATS Should Advertise a Version (jonathanhurley) (jhurley: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=55c5f7e03360ffb701d9ca380e06c19609f72f7e]) * ambari-server/src/main/resources/stacks/HDP/2.1/services/YARN/metainfo.xml * ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/metainfo.xml > YARN ATS Should Advertise a Version > ----------------------------------- > > Key: AMBARI-16026 > URL: https://issues.apache.org/jira/browse/AMBARI-16026 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.0.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-16026.patch > > > 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}}: > {code} > 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) > {code} > {code} > [root@c6401 ~]# cat /usr/bin/hdp-select | grep "timeline" > "hadoop-yarn-timelineserver": "hadoop-yarn", > "hadoop-yarn-timelineserver"], > {code} > 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: > {code} > 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 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)