THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
def decommission(self, env): import params ... Execute(yarn_refresh_cmd, user=yarn_user ) pass |
Using Stack Inheritance
Stacks can extend other Stacks in order to share command scripts and configurations. This reduces duplication of code across Stacks.
For example, the HDP 2.1.1 Stack extends HDP 2.0.6 Stack so only the changes applicable to HDP 2.1.1 are present in that Stack definition. The extension is defined in the metainfo.xml for HDP 2.1.1 Stack:
Code Block |
---|
<metainfo>
<versions>
<active>true</active>
</versions>
<extends>2.0.6</extends>
</metainfo> |
Metrics
TBD