...
Such properties can be defined in .json format in the properties folder of the stack.
Stack features
Stacks can support different features depending on their version, for example: upgrade support, NFS support, support for specific new components (such as Ranger, Phoenix )…
...
This is an example where the new stack featurization design is used in service code:
Code Block | ||||
---|---|---|---|---|
| ||||
if params.version and check_stack_feature(StackFeature.ROLLING_UPGRADE, params.version): conf_select.select(params.stack_name, "hive", params.version) stack_select.select("hive-server2", params.version) |
Stack Tools
Similar to stack features, stack-selector and conf-selector tools are now stack-driven instead of hardcoding hdp-select and conf-select.. They are defined in stack_tools.json file under /HDP/2.0.6/properties
And declared as part of the HDP stack configurations as a new property on /HDP/2.0.6/configuration/cluster-env.xml
...