Updated Branches: refs/heads/trunk ae25391f8 -> bf71649ca
AMBARI-2513. Update hdfs-site config to new 'stale' configuration used in hadoop 1.2+. (Nate via mahadev) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/bf71649c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/bf71649c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/bf71649c Branch: refs/heads/trunk Commit: bf71649cae561573569a0c45cabad81306d6ba8e Parents: ae25391 Author: Mahadev Konar <[email protected]> Authored: Sun Jul 28 20:12:20 2013 -0700 Committer: Mahadev Konar <[email protected]> Committed: Sun Jul 28 20:16:20 2013 -0700 ---------------------------------------------------------------------- .../stacks/HDPLocal/1.3.0/metainfo.xml | 1 + .../services/FLUME/configuration/global.xml | 24 +++++ .../HDPLocal/1.3.0/services/FLUME/metainfo.xml | 30 ++++++ .../services/GANGLIA/configuration/global.xml | 5 + .../services/HBASE/configuration/global.xml | 52 ++++++++- .../services/HCATALOG/configuration/global.xml | 21 ++++ .../services/HDFS/configuration/core-site.xml | 2 + .../services/HDFS/configuration/global.xml | 60 ++++++++++- .../services/HDFS/configuration/hdfs-site.xml | 29 ++++- .../services/HIVE/configuration/global.xml | 62 +++++++++-- .../1.3.0/services/HUE/configuration/global.xml | 35 +++++++ .../services/MAPREDUCE/configuration/global.xml | 104 +++++++++++++++++- .../services/NAGIOS/configuration/global.xml | 50 +++++++++ .../services/OOZIE/configuration/global.xml | 105 +++++++++++++++++++ .../services/ZOOKEEPER/configuration/global.xml | 75 +++++++++++++ .../stacks/HDPLocal/1.3.1/metainfo.xml | 1 + 16 files changed, 639 insertions(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/metainfo.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/metainfo.xml index 20996de..e930796 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/metainfo.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/metainfo.xml @@ -18,5 +18,6 @@ <metainfo> <versions> <upgrade>1.2.0</upgrade> + <active>false</active> </versions> </metainfo> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/configuration/global.xml new file mode 100644 index 0000000..f1fa4de --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/configuration/global.xml @@ -0,0 +1,24 @@ +<?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> +</configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/metainfo.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/metainfo.xml new file mode 100644 index 0000000..87ff4b3 --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/FLUME/metainfo.xml @@ -0,0 +1,30 @@ +<?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>Flume is a distributed, reliable, and available system for efficiently collecting, aggregating and moving large amounts of log data from many different sources to a centralized data store.</comment> + <version>1.3.1.1.3.0.0</version> + + <components> + <component> + <name>FLUME_SERVER</name> + <category>MASTER</category> + </component> + </components> + +</metainfo> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/GANGLIA/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/GANGLIA/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/GANGLIA/configuration/global.xml index 3166efb..16df0b8 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/GANGLIA/configuration/global.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/GANGLIA/configuration/global.xml @@ -41,6 +41,11 @@ <value>nobody</value> <description>User </description> </property> + <property> + <name>gmond_user</name> + <value>nobody</value> + <description>User </description> + </property> <property> <name>rrdcached_base_dir</name> <value>/var/lib/ganglia/rrds</value> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HBASE/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HBASE/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HBASE/configuration/global.xml index 22bfa41..82996b0 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HBASE/configuration/global.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HBASE/configuration/global.xml @@ -87,6 +87,11 @@ <description>HBase Region Block Multiplier</description> </property> <property> + <name>hregion_memstoreflushsize</name> + <value></value> + <description>HBase Region MemStore Flush Size.</description> + </property> + <property> <name>client_scannercaching</name> <value>100</value> <description>Base Client Scanner Caching</description> @@ -101,6 +106,11 @@ <value>10485760</value> <description>HBase Client Maximum key-value Size</description> </property> + <property> + <name>hbase_hdfs_root_dir</name> + <value>/apps/hbase/data</value> + <description>HBase Relative Path to HDFS.</description> + </property> <property> <name>hbase_tmp_dir</name> <value>/var/log/hbase</value> @@ -111,5 +121,45 @@ <value>/etc/hbase</value> <description>Config Directory for HBase.</description> </property> - + <property> + <name>hdfs_enable_shortcircuit_read</name> + <value>true</value> + <description>HDFS Short Circuit Read</description> + </property> + <property> + <name>hdfs_support_append</name> + <value>true</value> + <description>HDFS append support</description> + </property> + <property> + <name>hstore_blockingstorefiles</name> + <value>7</value> + <description>HStore blocking storefiles.</description> + </property> + <property> + <name>regionserver_memstore_lab</name> + <value>true</value> + <description>Region Server memstore.</description> + </property> + <property> + <name>regionserver_memstore_lowerlimit</name> + <value>0.35</value> + <description>Region Server memstore lower limit.</description> + </property> + <property> + <name>regionserver_memstore_upperlimit</name> + <value>0.4</value> + <description>Region Server memstore upper limit.</description> + </property> + <property> + <name>hbase_conf_dir</name> + <value>/etc/hbase</value> + <description>HBase conf dir.</description> + </property> + <property> + <name>hbase_user</name> + <value>hbase</value> + <description>HBase User Name.</description> + </property> + </configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HCATALOG/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HCATALOG/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HCATALOG/configuration/global.xml index f1fa4de..dd89409 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HCATALOG/configuration/global.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HCATALOG/configuration/global.xml @@ -21,4 +21,25 @@ --> <configuration> + <property> + <name>hcat_log_dir</name> + <value>/var/log/webhcat</value> + <description>WebHCat Log Dir.</description> + </property> + <property> + <name>hcat_pid_dir</name> + <value>/etc/run/webhcat</value> + <description>WebHCat Pid Dir.</description> + </property> + <property> + <name>hcat_user</name> + <value>hcat</value> + <description>HCat User.</description> + </property> + <property> + <name>webhcat_user</name> + <value>hcat</value> + <description>WebHCat User.</description> + </property> + </configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/core-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/core-site.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/core-site.xml index 81dfc70..94ffbbb 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/core-site.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/core-site.xml @@ -45,12 +45,14 @@ for compression/decompression.</description> </property> + <property> <name>io.compression.codec.lzo.class</name> <value>com.hadoop.compression.lzo.LzoCodec</value> <description>The implementation for lzo codec.</description> </property> + <!-- file system properties --> <property> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/global.xml index 0218d5d..f10b9f9 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/global.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/global.xml @@ -112,6 +112,47 @@ <description>FS Checkpoint Size.</description> </property> <property> + <name>proxyuser_group</name> + <value>users</value> + <description>Proxy user group.</description> + </property> + <property> + <name>dfs_exclude</name> + <value></value> + <description>HDFS Exclude hosts.</description> + </property> + <property> + <name>dfs_include</name> + <value></value> + <description>HDFS Include hosts.</description> + </property> + <property> + <name>dfs_replication</name> + <value>3</value> + <description>Default Block Replication.</description> + </property> + <property> + <name>dfs_block_local_path_access_user</name> + <value>hbase</value> + <description>Default Block Replication.</description> + </property> + <property> + <name>dfs_datanode_address</name> + <value>50010</value> + <description>Port for datanode address.</description> + </property> + <property> + <name>dfs_datanode_http_address</name> + <value>50075</value> + <description>Port for datanode address.</description> + </property> + <property> + <name>dfs_datanode_data_dir_perm</name> + <value>750</value> + <description>Datanode dir perms.</description> + </property> + + <property> <name>security_enabled</name> <value>false</value> <description>Hadoop Security</description> @@ -122,14 +163,25 @@ <description>Kerberos realm.</description> </property> <property> - <name>kerberos_domain</name> - <value>EXAMPLE.COM</value> - <description>Kerberos realm.</description> + <name>kadmin_pw</name> + <value></value> + <description>Kerberos realm admin password</description> </property> <property> <name>keytab_path</name> <value>/etc/security/keytabs</value> - <description>KeyTab Directory.</description> + <description>Kerberos keytab path.</description> + </property> + + <property> + <name>namenode_formatted_mark_dir</name> + <value>/var/run/hadoop/hdfs/namenode/formatted/</value> + <description>Formatteed Mark Directory.</description> + </property> + <property> + <name>hdfs_user</name> + <value>hdfs</value> + <description>User and Groups.</description> </property> </configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/hdfs-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/hdfs-site.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/hdfs-site.xml index 2102ddc..6246def 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/hdfs-site.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HDFS/configuration/hdfs-site.xml @@ -413,13 +413,34 @@ don't exist, they will be created with this permission.</description> </property> <property> - <name>dfs.namenode.check.stale.datanode</name> + <name>dfs.namenode.avoid.read.stale.datanode</name> <value>true</value> <description> - With this setting, the datanodes that have not replied to the heartbeat - for more than 30s (i.e. in a stale state) are used for reads only if all - other remote replicas have failed. + Indicate whether or not to avoid reading from stale datanodes whose + heartbeat messages have not been received by the namenode for more than a + specified time interval. </description> </property> + <property> + <name>dfs.namenode.avoid.write.stale.datanode</name> + <value>true</value> + <description> + Indicate whether or not to avoid writing to stale datanodes whose + heartbeat messages have not been received by the namenode for more than a + specified time interval. + </description> + </property> + <property> + <name>dfs.namenode.write.stale.datanode.ratio</name> + <value>1.0f</value> + <description>When the ratio of number stale datanodes to total datanodes marked is greater + than this ratio, stop avoiding writing to stale nodes so as to prevent causing hotspots. + </description> + </property> + <property> + <name>dfs.namenode.stale.datanode.interval</name> + <value>30000</value> + <description>Datanode is stale after not getting a heartbeat in this interval in ms</description> + </property> </configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HIVE/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HIVE/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HIVE/configuration/global.xml index cf09d12..d9adc80 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HIVE/configuration/global.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HIVE/configuration/global.xml @@ -26,27 +26,72 @@ <value></value> <description>Hive Metastore host.</description> </property> - <property> - <name>hivemetastore_host</name> + <property> + <name>hive_database</name> <value></value> - <description>Hive Metastore host.</description> + <description>Hive database name.</description> </property> <property> - <name>hive_database</name> + <name>hive_existing_mysql_database</name> <value></value> <description>Hive database name.</description> </property> <property> - <name>hive_existing_database</name> + <name>hive_existing_mysql_host</name> + <value></value> + <description></description> + </property> + <property> + <name>hive_existing_oracle_database</name> <value></value> <description>Hive database name.</description> </property> <property> - <name>hive_existing_host</name> + <name>hive_existing_oracle_host</name> <value></value> <description></description> </property> <property> + <name>hive_ambari_database</name> + <value>MySQL</value> + <description>Database type.</description> + </property> + <property> + <name>hive_ambari_host</name> + <value></value> + <description>Database hostname.</description> + </property> + <property> + <name>hive_database_name</name> + <value></value> + <description>Database hname</description> + </property> + <property> + <name>hive_metastore_user_name</name> + <value>hive</value> + <description>Database username to use to connect to the database.</description> + </property> + <property> + <name>hive_metastore_user_passwd</name> + <value></value> + <description>Database password to use to connect to the database.</description> + </property> + <property> + <name>hive_metastore_port</name> + <value>9083</value> + <description>Hive Metastore port.</description> + </property> + <property> + <name>hive_lib</name> + <value>/usr/lib/hive/lib/</value> + <description>Hive Library.</description> + </property> + <property> + <name>hive_dbroot</name> + <value>/usr/lib/hive/lib/</value> + <description>Hive DB Directory.</description> + </property> + <property> <name>hive_conf_dir</name> <value>/etc/hive/conf</value> <description>Hive Conf Dir.</description> @@ -71,5 +116,10 @@ <value>/usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar</value> <description>Hive auxiliary jar path.</description> </property> + <property> + <name>hive_user</name> + <value>hive</value> + <description>Hive User.</description> + </property> </configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HUE/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HUE/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HUE/configuration/global.xml new file mode 100644 index 0000000..c49480f --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/HUE/configuration/global.xml @@ -0,0 +1,35 @@ +<?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>hue_pid_dir</name> + <value>/var/run/hue</value> + <description>Hue Pid Dir.</description> + </property> + <property> + <name>hue_log_dir</name> + <value>/var/log/hue</value> + <description>Hue Log Dir.</description> + </property> + +</configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/MAPREDUCE/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/MAPREDUCE/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/MAPREDUCE/configuration/global.xml index 67d840a..d279724 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/MAPREDUCE/configuration/global.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/MAPREDUCE/configuration/global.xml @@ -49,12 +49,112 @@ <property> <name>jtnode_opt_newsize</name> <value>200</value> - <description>MapRed Capacity Scheduler.</description> + <description>Mem New Size.</description> </property> <property> <name>jtnode_opt_maxnewsize</name> <value>200</value> - <description>MapRed Capacity Scheduler.</description> + <description>Max New size.</description> + </property> + <property> + <name>hadoop_heapsize</name> + <value>1024</value> + <description>Hadoop maximum Java heap size</description> + </property> + <property> + <name>jtnode_heapsize</name> + <value>1024</value> + <description>Maximum Java heap size for JobTracker in MB (Java option -Xmx)</description> + </property> + <property> + <name>mapred_map_tasks_max</name> + <value>4</value> + <description>Number of slots that Map tasks that run simultaneously can occupy on a TaskTracker</description> + </property> + <property> + <name>mapred_red_tasks_max</name> + <value>2</value> + <description>Number of slots that Reduce tasks that run simultaneously can occupy on a TaskTracker</description> + </property> + <property> + <name>mapred_cluster_map_mem_mb</name> + <value>-1</value> + <description>The virtual memory size of a single Map slot in the MapReduce framework</description> + </property> + <property> + <name>mapred_cluster_red_mem_mb</name> + <value>-1</value> + <description>The virtual memory size of a single Reduce slot in the MapReduce framework</description> + </property> + <property> + <name>mapred_job_map_mem_mb</name> + <value>-1</value> + <description>Virtual memory for single Map task</description> + </property> + <property> + <name>mapred_child_java_opts_sz</name> + <value>768</value> + <description>Java options for the TaskTracker child processes.</description> + </property> + <property> + <name>io_sort_mb</name> + <value>200</value> + <description>The total amount of Map-side buffer memory to use while sorting files (Expert-only configuration).</description> + </property> + <property> + <name>io_sort_spill_percent</name> + <value>0.9</value> + <description>Percentage of sort buffer used for record collection (Expert-only configuration.</description> + </property> + <property> + <name>mapreduce_userlog_retainhours</name> + <value>24</value> + <description>The maximum time, in hours, for which the user-logs are to be retained after the job completion.</description> + </property> + <property> + <name>maxtasks_per_job</name> + <value>-1</value> + <description>Maximum number of tasks for a single Job</description> + </property> + <property> + <name>lzo_enabled</name> + <value>false</value> + <description>LZO compression enabled</description> + </property> + <property> + <name>snappy_enabled</name> + <value>true</value> + <description>LZO compression enabled</description> + </property> + <property> + <name>rca_enabled</name> + <value>true</value> + <description>Enable Job Diagnostics.</description> + </property> + <property> + <name>mapred_hosts_exclude</name> + <value></value> + <description>Exclude entered hosts</description> + </property> + <property> + <name>mapred_hosts_include</name> + <value></value> + <description>Include entered hosts</description> + </property> + <property> + <name>mapred_jobstatus_dir</name> + <value>file:////mapred/jobstatus</value> + <description>Job Status directory</description> + </property> + <property> + <name>task_controller</name> + <value>org.apache.hadoop.mapred.DefaultTaskController</value> + <description>Task Controller.</description> + </property> + <property> + <name>mapred_user</name> + <value>mapred</value> + <description>MapReduce User.</description> </property> </configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/NAGIOS/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/NAGIOS/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/NAGIOS/configuration/global.xml new file mode 100644 index 0000000..61a2b90 --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/NAGIOS/configuration/global.xml @@ -0,0 +1,50 @@ +<?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>nagios_user</name> + <value>nagios</value> + <description>Nagios Username.</description> + </property> + <property> + <name>nagios_group</name> + <value>nagios</value> + <description>Nagios Group.</description> + </property> + <property> + <name>nagios_web_login</name> + <value>nagiosadmin</value> + <description>Nagios web user.</description> + </property> + <property> + <name>nagios_web_password</name> + <value></value> + <description>Nagios Admin Password.</description> + </property> + <property> + <name>nagios_contact</name> + <value></value> + <description>Hadoop Admin Email.</description> + </property> + +</configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/OOZIE/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/OOZIE/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/OOZIE/configuration/global.xml new file mode 100644 index 0000000..ddbf780 --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/OOZIE/configuration/global.xml @@ -0,0 +1,105 @@ +<?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>oozie_user</name> + <value>oozie</value> + <description>Oozie User.</description> + </property> + <property> + <name>oozieserver_host</name> + <value></value> + <description>Oozie Server Host.</description> + </property> + <property> + <name>oozie_database</name> + <value></value> + <description>Oozie Server Database.</description> + </property> + <property> + <name>oozie_derby_database</name> + <value>Derby</value> + <description>Oozie Derby Database.</description> + </property> + <property> + <name>oozie_existing_mysql_database</name> + <value>MySQL</value> + <description>Oozie MySQL Database.</description> + </property> + <property> + <name>oozie_existing_mysql_host</name> + <value></value> + <description>Existing MySQL Host.</description> + </property> + <property> + <name>oozie_existing_oracle_database</name> + <value>Oracle</value> + <description>Oracle Database</description> + </property> + <property> + <name>oozie_existing_oracle_host</name> + <value></value> + <description>Database Host.</description> + </property> + <property> + <name>oozie_ambari_database</name> + <value>MySQL</value> + <description>Database default.</description> + </property> + <property> + <name>oozie_ambari_host</name> + <value></value> + <description>Host on which databse will be created.</description> + </property> + <property> + <name>oozie_database_name</name> + <value>oozie</value> + <description>Database name used for the Oozie.</description> + </property> + <property> + <name>oozie_metastore_user_name</name> + <value>oozie</value> + <description>Database user name to use to connect to the database</description> + </property> + <property> + <name>oozie_metastore_user_passwd</name> + <value></value> + <description>Database password to use to connect to the database</description> + </property> + <property> + <name>oozie_data_dir</name> + <value>/hadoop/oozie/data</value> + <description>Data directory in which the Oozie DB exists</description> + </property> + <property> + <name>oozie_log_dir</name> + <value>/var/log/oozie</value> + <description>Directory for oozie logs</description> + </property> + <property> + <name>oozie_pid_dir</name> + <value>/var/run/oozie</value> + <description>Directory in which the pid files for oozie reside.</description> + </property> + +</configuration> http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/ZOOKEEPER/configuration/global.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/ZOOKEEPER/configuration/global.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/services/ZOOKEEPER/configuration/global.xml new file mode 100644 index 0000000..f78df89 --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.0/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/incubator-ambari/blob/bf71649c/ambari-server/src/main/resources/stacks/HDPLocal/1.3.1/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.1/metainfo.xml b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.1/metainfo.xml index 20996de..e930796 100644 --- a/ambari-server/src/main/resources/stacks/HDPLocal/1.3.1/metainfo.xml +++ b/ambari-server/src/main/resources/stacks/HDPLocal/1.3.1/metainfo.xml @@ -18,5 +18,6 @@ <metainfo> <versions> <upgrade>1.2.0</upgrade> + <active>false</active> </versions> </metainfo>
