Repository: ambari Updated Branches: refs/heads/trunk d267bbb29 -> 7110b855b
http://git-wip-us.apache.org/repos/asf/ambari/blob/7110b855/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/configuration/global.xml new file mode 100644 index 0000000..f78df89 --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/configuration/global.xml @@ -0,0 +1,75 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> +<!-- +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + +<configuration> + <property> + <name>zk_user</name> + <value>zookeeper</value> + <description>ZooKeeper User.</description> + </property> + <property> + <name>zookeeperserver_host</name> + <value></value> + <description>ZooKeeper Server Hosts.</description> + </property> + <property> + <name>zk_data_dir</name> + <value>/hadoop/zookeeper</value> + <description>Data directory for ZooKeeper.</description> + </property> + <property> + <name>zk_log_dir</name> + <value>/var/log/zookeeper</value> + <description>ZooKeeper Log Dir</description> + </property> + <property> + <name>zk_pid_dir</name> + <value>/var/run/zookeeper</value> + <description>ZooKeeper Pid Dir</description> + </property> + <property> + <name>zk_pid_file</name> + <value>/var/run/zookeeper/zookeeper_server.pid</value> + <description>ZooKeeper Pid File</description> + </property> + <property> + <name>tickTime</name> + <value>2000</value> + <description>The length of a single tick in milliseconds, which is the basic time unit used by ZooKeeper</description> + </property> + <property> + <name>initLimit</name> + <value>10</value> + <description>Ticks to allow for sync at Init.</description> + </property> + <property> + <name>syncLimit</name> + <value>5</value> + <description>Ticks to allow for sync at Runtime.</description> + </property> + <property> + <name>clientPort</name> + <value>2181</value> + <description>Port for running ZK Server.</description> + </property> + +</configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/7110b855/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/metainfo.xml new file mode 100644 index 0000000..565b4d4 --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/ZOOKEEPER/metainfo.xml @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<metainfo> + <user>root</user> + <comment>Centralized service which provides highly reliable distributed coordination</comment> + <version>3.4.5.2.0.6.0</version> + + <components> + <component> + <name>ZOOKEEPER_SERVER</name> + <category>MASTER</category> + </component> + + <component> + <name>ZOOKEEPER_CLIENT</name> + <category>CLIENT</category> + </component> + </components> + + <configuration-dependencies> + <config-type>global</config-type> + </configuration-dependencies> + +</metainfo> http://git-wip-us.apache.org/repos/asf/ambari/blob/7110b855/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/role_command_order.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/role_command_order.json b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/role_command_order.json index f6b499a..37de8ce 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/role_command_order.json +++ b/ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/role_command_order.json @@ -5,7 +5,6 @@ "_comment" : "dependencies for all cases", "NAGIOS_SERVER-INSTALL" : ["HIVE_CLIENT-INSTALL", "HCAT-INSTALL", "MAPREDUCE_CLIENT-INSTALL", "OOZIE_CLIENT-INSTALL"], - "HIVE_METASTORE-INSTALL": ["MYSQL_SERVER-INSTALL"], "NIMBUS-START" : ["ZOOKEEPER_SERVER-START"], "SUPERVISOR-START" : ["NIMBUS-START"], "STORM_UI_SERVER-START" : ["NIMBUS-START"], @@ -18,13 +17,13 @@ "HIVE_METASTORE-START": ["MYSQL_SERVER-START"], "HIVE_SERVER-START": ["TASKTRACKER-START", "MYSQL_SERVER-START"], "HUE_SERVER-START": ["HIVE_SERVER-START", "HCAT-START", "OOZIE_SERVER-START"], - "FLUME_SERVER-START": ["OOZIE_SERVER-START"], + "FLUME_HANDLER-START": ["OOZIE_SERVER-START"], "NAGIOS_SERVER-START": ["HBASE_MASTER-START", "HBASE_REGIONSERVER-START", "GANGLIA_SERVER-START", "GANGLIA_MONITOR-START", "HCAT-START", "HIVE_SERVER-START", "HIVE_METASTORE-START", "HUE_SERVER-START", "JOBTRACKER-START", "TASKTRACKER-START", "ZOOKEEPER_SERVER-START", "MYSQL_SERVER-START", "OOZIE_SERVER-START", "PIG-START", "SQOOP-START", - "WEBHCAT_SERVER-START", "FLUME_SERVER-START"], + "WEBHCAT_SERVER-START", "FLUME_HANDLER-START"], "MAPREDUCE_SERVICE_CHECK-SERVICE_CHECK": ["JOBTRACKER-START", "TASKTRACKER-START"], "OOZIE_SERVICE_CHECK-SERVICE_CHECK": ["OOZIE_SERVER-START"], "WEBHCAT_SERVICE_CHECK-SERVICE_CHECK": ["WEBHCAT_SERVER-START"],
