[
https://issues.apache.org/jira/browse/AMBARI-8600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jayush Luniya reassigned AMBARI-8600:
-------------------------------------
Assignee: Jayush Luniya (was: John Speidel)
> Stack Inheritence: Delete Component doesn't work as expected in inheritance
> scenario
> ------------------------------------------------------------------------------------
>
> Key: AMBARI-8600
> URL: https://issues.apache.org/jira/browse/AMBARI-8600
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.0.0
> Reporter: Jayush Luniya
> Assignee: Jayush Luniya
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: ServiceInheritenceBug.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> See attached patch for repro test case.
> Repro Test Case:
> - Create a copy of ambari-server\src\test\resources\stacks\HDP\2.0.6 as
> ambari-server/src/test/resources/stacks/HDP/2.0.6.1. So HDP/2.0.6.1 uses base
> stack as HDP/2.0.5
> - Update HDP/2.0.6.1/YARN service definition to explicitly inherit
> HDP/2.0.6/YAR, without any overrides.
> Expected Behavior:
> - Since HDP/2.0.6.1/YARN inherits from HDP/2.0.6/YARN and in HDP/2.0.6/YARN
> YARN_CLIENT component is marked for deletion, the component should also be
> marked for deletion in HDP/2.0.6.1/YARN
> Actual Behavior:
> - HDP/2.0.6.1/YARN has YARN_CLIENT after inheritance resolution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)