ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juanjo Marron (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14435) Parameterize distro-specific stack information for ZOOKEEPER
Date Fri, 18 Mar 2016 00:48:33 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200724#comment-15200724
] 

Juanjo Marron commented on AMBARI-14435:
----------------------------------------

Added AMBARI-14435.patch
This patch removes the hardcoded stack versions in ZK common-services code (centralized version
and parameterized stack configurations will be faced in other JIRAS)
stack_features is now a property in .json format in configuration/cluster-env.xml for each
stack version.
With the structure:
{
"stack_features": [
{ "name": "feature1", "description" : "Feature1 support", "min_version" : "Y.Y.Y.Y" , "max_version"
: "X.X.X.X"}
, 
...
]
}
where min_version/max_version are optional constraints.
New resource_management/libraries/functions/stack_fetaures.py has been introduced to parse
the json file and called from service code to check if the stack supports the required feature.

> Parameterize distro-specific stack information for ZOOKEEPER
> ------------------------------------------------------------
>
>                 Key: AMBARI-14435
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14435
>             Project: Ambari
>          Issue Type: Technical task
>          Components: ambari-server
>    Affects Versions: 2.2.0, 2.2.1
>            Reporter: Juanjo Marron
>            Assignee: Juanjo Marron
>             Fix For: 2.4.0
>
>         Attachments: 0001-AMBARI-14435-Parameterize-distro-specific-stack-info.patch,
AMBARI-14435.patch
>
>
> Apply the stack featurization  prototype detailed on AMBARI-13364 to ZOOKEEPER service.
> This patch removes the hardcoded stack versions in ZK common-services code and uses stack_features
which  a property in .json format in configuration/cluster-env.xml for each stack version.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message