Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2024107F7 for ; Tue, 22 Oct 2013 22:06:57 +0000 (UTC) Received: (qmail 87559 invoked by uid 500); 22 Oct 2013 22:06:05 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 87418 invoked by uid 500); 22 Oct 2013 22:05:55 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 87378 invoked by uid 99); 22 Oct 2013 22:05:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Oct 2013 22:05:49 +0000 Date: Tue, 22 Oct 2013 22:05:48 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-3548) Changes to stacks definitions to allow custom services support (needed by an ambari-agent) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-3548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802340#comment-13802340 ] Sumit Mohanty commented on AMBARI-3548: --------------------------------------- To [~ncole@hortonworks.com]'s comments: We will definitely have the repo information at the top level. The idea for keeping it at service level is to allow addition of services that are not released as part of HDP. So we need a room for repo URL at the level of services. For the next 4-5 services we are adding we will not need the repo url as they will all, most likely, be part of HDP. Anyway, the custom-url feature will only work if all services are part of the same repo - in which case we do not need to specify repo url at the service spec. I am OK with either creating PACKAGE folder or packing the whole "HBASE" folder including configuration, metainfo, etc. The later is probably little wasteful. > Changes to stacks definitions to allow custom services support (needed by an ambari-agent) > ------------------------------------------------------------------------------------------ > > Key: AMBARI-3548 > URL: https://issues.apache.org/jira/browse/AMBARI-3548 > Project: Ambari > Issue Type: Bug > Components: controller > Affects Versions: 1.5.0 > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Fix For: 1.5.0 > > Attachments: AMBARI-2036-preview.patch, hbase_new_metainfo.json, hbase_new_metainfo.xml, hbase_old_metainfo.xml, service_metainfo_changes.patch > > > Stack definitions for custom services should contain fields: > - service metadata > -- list of repositories > - component metadata should contain fields: > -- scriptType (possible values: "python", "puppet") > -- taskTimeout (per-component value) > Except metadata files, custom service directory should contain: > - script directory that contains separate python files for components (e.g. namenode.py, datanode.py etc.) and service.py file. > - a separate directory for templates > Patch is so large because I've created a separate stack dir with modified HBase metadata. -- This message was sent by Atlassian JIRA (v6.1#6144)