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/09/02 20:59:21 UTC

[jira] [Commented] (AMBARI-7115) Stack Service Pluggability: Adding service to a stack requires editing hooks folder

    [ 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)