ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Created] (AMBARI-21722) Begin Using Service Versions In Python stack_feature Code
Date Mon, 14 Aug 2017 20:59:00 GMT
Jonathan Hurley created AMBARI-21722:

             Summary: Begin Using Service Versions In Python stack_feature Code
                 Key: AMBARI-21722
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.6.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.6.0

The command generators in Ambari are sending down the {{KeyName.CURRENT_VERSION}} ({{current_version}})
property in the JSON to the agents. This is being used to determine the "current cluster version"
which doesn't really exist anymore:

  # something like
  # (or None if this is a cluster install and it hasn't been calculated yet)
  current_cluster_version = default("/hostLevelParams/current_version", None)

This really needs to be calculated from the service's repository version instead.

This message was sent by Atlassian JIRA

View raw message