Jonathan Hurley created AMBARI-16026:
----------------------------------------
Summary: 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
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)