Details
-
Technical task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0, 2.2.1
-
None
Description
Apply the stack featurization prototype detailed on AMBARI-13364 to ZOOKEEPER service plus the comments and reviews received on:
This patch removes the hardcoded stack versions and stack specific paths into ZK common-services code
stack_features is now a property in .json format in HDP/2.0.6/properties/stack_features.json
With the structure:
,
...
]
}
where min_version/max_version are optional constraints.
The upgrade constants, such has ROLLING_UPGRADE = "rolling_upgrade" has been added to in a new StackFeature in resource_management/libraries/functions/constants.py
Stack featurization was added as part of the HDP stack configurations on /HDP/2.0.6/configuration/cluster-env.xml, introducing a new stack_features property
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.
Attachments
Attachments
Issue Links
- Blocked
-
AMBARI-13364 Parameterize stack information used by common services
- Resolved
- is depended upon by
-
AMBARI-14451 Parameterize distro-specific stack information for HDFS
- Resolved
- is related to
-
AMBARI-13364 Parameterize stack information used by common services
- Resolved
- links to