You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/12/11 19:32:15 UTC
[jira] [Commented] (AMBARI-8600) Stack Inheritence: Delete
Component doesn't work as expected in inheritance scenario
[ https://issues.apache.org/jira/browse/AMBARI-8600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242904#comment-14242904 ]
Hudson commented on AMBARI-8600:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #1177 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1177/])
AMBARI-8600. Fix Stack Inheritence where explicitly inherited service has deleted components (jspeidel: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4772593c58ff84809215d55f65867c392ef67693)
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/services/FLUME/configuration/flume-conf.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/repos/repoinfo.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/services/YARN/metainfo.xml
* ambari-server/src/main/java/org/apache/ambari/server/stack/StackManager.java
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/hooks/dummy-script.py
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/services/FLUME/configuration/flume-log4j.xml
* ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceModule.java
* ambari-server/src/main/java/org/apache/ambari/server/stack/StackModule.java
* ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/metainfo.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/services/FLUME/metainfo.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/role_command_order.json
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/services/SQOOP/metainfo.xml
* ambari-server/src/test/resources/stacks/HDP/2.0.6.1/services/FLUME/configuration/flume-env.xml
> 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: AMBARI-8600.3.patch, AMBARI-8600.4.patch, AMBARI-8600.patch, 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)