You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "John Speidel (JIRA)" <ji...@apache.org> on 2014/09/11 20:12:35 UTC

[jira] [Commented] (AMBARI-7175) Enable Explicit Stack Service Inheritance

    [ https://issues.apache.org/jira/browse/AMBARI-7175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14130434#comment-14130434 ] 

John Speidel commented on AMBARI-7175:
--------------------------------------

[~nalex] As Rob mentioned, the behavior of explicit service extension is very similar to the existing stack extension functionality in terms of how services are extended.
When extending a service, information provided in the derived service will overlay information from the base service.  So, if you don't provide any information other than a name, all of the service information from the base will be included in the derived service.  If in the derived service includes some configuration properties, these will be overlaid on the base service so the derived service will be a merge of the 2 services (base + overlays).  So no, you will not need to copy/paste all information from the base service in a derived service.  You will only include information that you want to overlay. 

> Enable Explicit Stack Service Inheritance
> -----------------------------------------
>
>                 Key: AMBARI-7175
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7175
>             Project: Ambari
>          Issue Type: Epic
>          Components: stacks
>            Reporter: John Speidel
>            Assignee: John Speidel
>              Labels: stack
>         Attachments: StackServiceDefinitionInheritanceTechnicalDocument.pdf
>
>
> Enable stacks to inherit individual services with the same stack or across stacks.
> When creating a new version of a service definition, unchanged details and scripts need to be copied from the previous version to the new version.  Any changes made to the resources that have been copied need to be propagated to them. This can be tedious and time consuming as well as lead to user error while copying the changes.  Currently, one version of a stack can extend another version of the same stack and will inherit everything in the stack including potentially unwanted content.  This work is to allow single services to be inherited/extended as opposed to the entire stack.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)