Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3503911BCC for ; Tue, 2 Sep 2014 18:59:22 +0000 (UTC) Received: (qmail 6063 invoked by uid 500); 2 Sep 2014 18:59:22 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 6032 invoked by uid 500); 2 Sep 2014 18:59:22 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 6015 invoked by uid 99); 2 Sep 2014 18:59:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 18:59:21 +0000 Date: Tue, 2 Sep 2014 18:59:21 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-7115) Stack Service Pluggability: Adding service to a stack requires editing hooks folder 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-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118540#comment-14118540 ] Hudson commented on AMBARI-7115: -------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #107 (See [https://builds.apache.org/job/Ambari-trunk-Commit/107/]) AMBARI-7115. Stack Service Pluggability: Adding service to a stack requires editing hooks folder (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a940986517cbfeb2ef889f0d8a45579b27adad1c) * ambari-server/src/main/resources/stacks/HDP/2.1/services/STORM/configuration/storm-env.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/StackConfigurationResponse.java * ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/params.py * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/configuration/oozie-site.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/configuration/zookeeper-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/SQOOP/configuration/sqoop-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/configuration-mapred/mapred-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/configuration/nagios-env.xml * ambari-server/src/test/java/org/apache/ambari/server/orm/entities/BlueprintEntityTest.java * ambari-server/src/test/resources/stacks/HDP/2.0.1/services/HIVE/configuration/hive-site.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java * ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/configuration/zookeeper-env.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterResourceProvider.java * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HBASE/configuration/hbase-env.xml * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/OOZIE/configuration/oozie-env.xml * ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/configuration/hive-site.xml * ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/configuration/hive-site.xml * ambari-server/src/main/resources/stacks/HDP/1.3.2/configuration/cluster-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/shared_initialization.py * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/SQOOP/configuration/sqoop-env.xml * ambari-server/src/main/resources/stacks/HDP/2.1/services/FALCON/configuration/falcon-env.xml * ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterResourceProviderTest.java * ambari-server/src/test/java/org/apache/ambari/server/api/util/StackExtensionHelperTest.java * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/configuration/hive-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HBASE/configuration/hbase-env.xml * ambari-server/src/main/java/org/apache/ambari/server/state/PropertyInfo.java * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/params.py * ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/configuration/hive-site.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintResourceProvider.java * ambari-server/src/main/java/org/apache/ambari/server/controller/StackLevelConfigurationResponse.java * ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/params.py * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/configuration/ganglia-env.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackConfigurationResourceProvider.java * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/FLUME/configuration/flume-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/configuration/oozie-site.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/configuration/oozie-env.xml * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/configuration/nagios-env.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackLevelConfigurationResourceProvider.java * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py * ambari-server/src/main/resources/stacks/HDP/2.1/services/YARN/configuration/yarn-env.xml * ambari-server/src/main/resources/properties.json * ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/MAPREDUCE/configuration/mapred-env.xml * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/configuration/hive-env.xml * ambari-server/src/main/resources/stacks/HDP/2.1/services/TEZ/configuration/tez-env.xml * ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/configuration/ganglia-env.xml * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hadoop-env.xml * ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HIVE/configuration/hive-site.xml * ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/before-INSTALL/scripts/shared_initialization.py * ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/configuration/yarn-env.xml * ambari-server/src/main/java/org/apache/ambari/server/orm/entities/BlueprintEntity.java * ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml > Stack Service Pluggability: Adding service to a stack requires editing hooks folder > ----------------------------------------------------------------------------------- > > Key: AMBARI-7115 > URL: https://issues.apache.org/jira/browse/AMBARI-7115 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 1.7.0 > > > Following files has service specific references. > 1. hooks->BEFORE-INSTALL->shared_initialization.py > 2. hooks->BEFORE-START->shared_initialization.py > hooks->BEFORE-INSTALL->shared_initialization.py file is required to change > while adding a new service package because user creation logic for a service > resides in the hooks folder. > Any tasks that needs to be done before installing or starting a service should > be implemented in a service package. > **On accomplishing this ticket, It will be possible to plug a new service definition into a deployed cluster without changing any existing python code.** -- This message was sent by Atlassian JIRA (v6.3.4#6332)