Repository: ambari Updated Branches: refs/heads/branch-2.5 4c04a9153 -> c358ae0c2
http://git-wip-us.apache.org/repos/asf/ambari/blob/c358ae0c/ambari-server/src/main/resources/stacks/HDP/3.0/services/HDFS/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/3.0/services/HDFS/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/3.0/services/HDFS/metainfo.xml deleted file mode 100644 index 95a5f84..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/3.0/services/HDFS/metainfo.xml +++ /dev/null @@ -1,145 +0,0 @@ -<?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> - <schemaVersion>2.0</schemaVersion> - <services> - <service> - <name>HDFS</name> - <displayName>HDFS</displayName> - <version>3.0.0.3.0</version> - <extends>common-services/HDFS/3.0.0.3.0</extends> - - <osSpecifics> - <osSpecific> - <osFamily>any</osFamily> - <packages> - <package> - <name>rpcbind</name> - <condition>should_install_rpcbind</condition> - </package> - </packages> - </osSpecific> - <osSpecific> - <osFamily>redhat7,amazon2015,redhat6,suse11</osFamily> - <packages> - <package> - <name>hadoop_${stack_version}</name> - </package> - <package> - <name>hadoop_${stack_version}-client</name> - </package> - <package> - <name>snappy</name> - </package> - <package> - <name>snappy-devel</name> - </package> - <package> - <name>lzo</name> - <skipUpgrade>true</skipUpgrade> - <condition>should_install_lzo</condition> - </package> - <package> - <name>hadooplzo_${stack_version}</name> - <condition>should_install_lzo</condition> - </package> - <package> - <name>hadooplzo_${stack_version}-native</name> - <condition>should_install_lzo</condition> - </package> - <package> - <name>hadoop_${stack_version}-libhdfs</name> - </package> - </packages> - </osSpecific> - - <osSpecific> - <osFamily>suse12</osFamily> - <packages> - <package> - <name>hadoop_${stack_version}</name> - </package> - <package> - <name>hadoop_${stack_version}-client</name> - </package> - <package> - <name>snappy</name> - </package> - <package> - <name>snappy-devel</name> - </package> - <package> - <name>liblzo2-2</name> - <skipUpgrade>true</skipUpgrade> - <condition>should_install_lzo</condition> - </package> - <package> - <name>hadooplzo_${stack_version}</name> - <condition>should_install_lzo</condition> - </package> - <package> - <name>hadooplzo_${stack_version}-native</name> - <condition>should_install_lzo</condition> - </package> - <package> - <name>hadoop_${stack_version}-libhdfs</name> - </package> - </packages> - </osSpecific> - - <osSpecific> - <osFamily>debian7,ubuntu12,ubuntu14,ubuntu16</osFamily> - <packages> - <package> - <name>hadoop-${stack_version}-client</name> - </package> - <package> - <name>hadoop-${stack_version}-hdfs-datanode</name> - </package> - <package> - <name>hadoop-${stack_version}-hdfs-journalnode</name> - </package> - <package> - <name>hadoop-${stack_version}-hdfs-namenode</name> - </package> - <package> - <name>hadoop-${stack_version}-hdfs-secondarynamenode</name> - </package> - <package> - <name>hadoop-${stack_version}-hdfs-zkfc</name> - </package> - <package> - <name>libsnappy1</name> - </package> - <package> - <name>libsnappy-dev</name> - </package> - <package> - <name>hadooplzo-${stack_version}</name> - <condition>should_install_lzo</condition> - </package> - <package> - <name>libhdfs0-${stack_version}</name> - </package> - </packages> - </osSpecific> - </osSpecifics> - - </service> - </services> -</metainfo> http://git-wip-us.apache.org/repos/asf/ambari/blob/c358ae0c/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-env.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-env.xml b/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-env.xml deleted file mode 100644 index deb4ef7..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-env.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?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. ---> -<!-- Put site-specific property overrides in this file. --> -<configuration xmlns:xi="http://www.w3.org/2001/XInclude" supports_final="true"> - <!-- These configs were inherited from HDP 2.2 --> - <!-- mapred-env.sh --> - <property> - <name>content</name> - <display-name>mapred-env template</display-name> - <description>This is the jinja template for mapred-env.sh file</description> - <value> - # export JAVA_HOME=/home/y/libexec/jdk1.6.0/ - - export HADOOP_JOB_HISTORYSERVER_HEAPSIZE={{jobhistory_heapsize}} - - export HADOOP_MAPRED_ROOT_LOGGER=INFO,RFA - - #export HADOOP_JOB_HISTORYSERVER_OPTS= - #export HADOOP_MAPRED_LOG_DIR="" # Where log files are stored. $HADOOP_MAPRED_HOME/logs by default. - #export HADOOP_JHS_LOGGER=INFO,RFA # Hadoop JobSummary logger. - #export HADOOP_MAPRED_PID_DIR= # The pid files are stored. /tmp by default. - #export HADOOP_MAPRED_IDENT_STRING= #A string representing this instance of hadoop. $USER by default - #export HADOOP_MAPRED_NICENESS= #The scheduling priority for daemons. Defaults to 0. - export HADOOP_OPTS="-Dhdp.version=$HDP_VERSION $HADOOP_OPTS" - export HADOOP_OPTS="-Djava.io.tmpdir={{hadoop_java_io_tmpdir}} $HADOOP_OPTS" - export JAVA_LIBRARY_PATH="${JAVA_LIBRARY_PATH}:{{hadoop_java_io_tmpdir}}" - </value> - <value-attributes> - <type>content</type> - </value-attributes> - <on-ambari-upgrade add="true"/> - </property> -</configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/c358ae0c/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-site.xml b/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-site.xml deleted file mode 100644 index cbeb08b..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration-mapred/mapred-site.xml +++ /dev/null @@ -1,78 +0,0 @@ -<?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. ---> -<!-- Put site-specific property overrides in this file. --> -<configuration xmlns:xi="http://www.w3.org/2001/XInclude" supports_final="true"> - <property> - <name>mapreduce.application.classpath</name> - <value>$PWD/mr-framework/hadoop/share/hadoop/mapreduce/*:$PWD/mr-framework/hadoop/share/hadoop/mapreduce/lib/*:$PWD/mr-framework/hadoop/share/hadoop/common/*:$PWD/mr-framework/hadoop/share/hadoop/common/lib/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/*:$PWD/mr-framework/hadoop/share/hadoop/yarn/lib/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/*:$PWD/mr-framework/hadoop/share/hadoop/hdfs/lib/*:$PWD/mr-framework/hadoop/share/hadoop/tools/lib/*:/usr/hdp/${hdp.version}/hadoop/lib/hadoop-lzo-0.6.0.${hdp.version}.jar:/etc/hadoop/conf/secure</value> - <description> - CLASSPATH for MR applications. A comma-separated list of CLASSPATH - entries. - </description> - <on-ambari-upgrade add="true"/> - </property> - - <!-- These configs were inherited from HDP 2.2 --> - <property> - <name>mapreduce.admin.user.env</name> - <value>LD_LIBRARY_PATH=/usr/hdp/${hdp.version}/hadoop/lib/native:/usr/hdp/${hdp.version}/hadoop/lib/native/Linux-{{architecture}}-64</value> - <description> - Additional execution environment entries for map and reduce task processes. - This is not an additive property. You must preserve the original value if - you want your map and reduce tasks to have access to native libraries (compression, etc) - </description> - <on-ambari-upgrade add="true"/> - </property> - <property> - <name>mapreduce.application.framework.path</name> - <value>/hdp/apps/${hdp.version}/mapreduce/mapreduce.tar.gz#mr-framework</value> - <description/> - <on-ambari-upgrade add="true"/> - </property> - <property> - <name>yarn.app.mapreduce.am.admin-command-opts</name> - <value>-Dhdp.version=${hdp.version}</value> - <description> - Java opts for the MR App Master processes. - The following symbol, if present, will be interpolated: @taskid@ is replaced - by current TaskID. Any other occurrences of '@' will go unchanged. - For example, to enable verbose gc logging to a file named for the taskid in - /tmp and to set the heap maximum to be a gigabyte, pass a 'value' of: - -Xmx1024m -verbose:gc -Xloggc:/tmp/@taskid@.gc - - Usage of -Djava.library.path can cause programs to no longer function if - hadoop native libraries are used. These values should instead be set as part - of LD_LIBRARY_PATH in the map / reduce JVM env using the mapreduce.map.env and - mapreduce.reduce.env config settings. - </description> - <on-ambari-upgrade add="true"/> - </property> - <property> - <name>mapreduce.admin.map.child.java.opts</name> - <value>-server -XX:NewRatio=8 -Djava.net.preferIPv4Stack=true -Dhdp.version=${hdp.version}</value> - <description/> - <on-ambari-upgrade add="true"/> - </property> - <property> - <name>mapreduce.admin.reduce.child.java.opts</name> - <value>-server -XX:NewRatio=8 -Djava.net.preferIPv4Stack=true -Dhdp.version=${hdp.version}</value> - <description/> - <on-ambari-upgrade add="true"/> - </property> -</configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/c358ae0c/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration/yarn-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration/yarn-site.xml b/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration/yarn-site.xml deleted file mode 100644 index 0f46d75..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/configuration/yarn-site.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?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. ---> -<configuration supports_final="true"> - - <property> - <name>yarn.nodemanager.aux-services.spark_shuffle.classpath</name> - <value>{{stack_root}}/${hdp.version}/spark/aux/*</value> - <description>The auxiliary service classpath to use for Spark</description> - <on-ambari-upgrade add="false"/> - </property> - - <!-- These configs were inherited from HDP 2.5 --> - <property> - <name>yarn.nodemanager.aux-services.spark2_shuffle.classpath</name> - <value>{{stack_root}}/${hdp.version}/spark2/aux/*</value> - <description>The auxiliary service classpath to use for Spark 2</description> - <on-ambari-upgrade add="false"/> - </property> -</configuration> http://git-wip-us.apache.org/repos/asf/ambari/blob/c358ae0c/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml deleted file mode 100644 index 096f205..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/3.0/services/YARN/metainfo.xml +++ /dev/null @@ -1,81 +0,0 @@ -<?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> - <schemaVersion>2.0</schemaVersion> - <services> - <service> - <name>YARN</name> - <version>3.0.0.3.0</version> - <extends>common-services/YARN/3.0.0.3.0</extends> - - <osSpecifics> - <osSpecific> - <osFamily>amazon2015,redhat6,redhat7,suse11,suse12</osFamily> - <packages> - <package> - <name>hadoop_${stack_version}-yarn</name> - </package> - <package> - <name>hadoop_${stack_version}-mapreduce</name> - </package> - <package> - <name>hadoop_${stack_version}-hdfs</name> - </package> - </packages> - </osSpecific> - <osSpecific> - <osFamily>ubuntu12</osFamily> - <packages> - <package> - <name>hadoop-${stack_version}-yarn</name> - </package> - <package> - <name>hadoop-${stack_version}-mapreduce</name> - </package> - </packages> - </osSpecific> - </osSpecifics> - </service> - - <service> - <name>MAPREDUCE2</name> - <displayName>MapReduce2</displayName> - <version>2.7.1.3.0</version> - - <osSpecifics> - <osSpecific> - <osFamily>amazon2015,redhat6,redhat7,suse11,suse12</osFamily> - <packages> - <package> - <name>hadoop_${stack_version}-mapreduce</name> - </package> - </packages> - </osSpecific> - <osSpecific> - <osFamily>ubuntu12</osFamily> - <packages> - <package> - <name>hadoop-${stack_version}-mapreduce</name> - </package> - </packages> - </osSpecific> - </osSpecifics> - - </service> - </services> -</metainfo> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/c358ae0c/ambari-server/src/main/resources/stacks/HDP/3.0/services/ZOOKEEPER/metainfo.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/3.0/services/ZOOKEEPER/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/3.0/services/ZOOKEEPER/metainfo.xml deleted file mode 100644 index 50cb18d..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/3.0/services/ZOOKEEPER/metainfo.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?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> - <schemaVersion>2.0</schemaVersion> - <services> - <service> - <name>ZOOKEEPER</name> - <version>3.4.9.3.0</version> - <extends>common-services/ZOOKEEPER/3.4.9</extends> - - <osSpecifics> - <osSpecific> - <osFamily>amazon2015,redhat6,redhat7,suse11,suse12</osFamily> - <packages> - <package> - <name>zookeeper_${stack_version}</name> - </package> - <package> - <name>zookeeper_${stack_version}-server</name> - </package> - </packages> - </osSpecific> - <osSpecific> - <osFamily>ubuntu12,ubuntu14,ubuntu16</osFamily> - <packages> - <package> - <name>zookeeper-${stack_version}</name> - </package> - <package> - <name>zookeeper-${stack_version}-server</name> - </package> - </packages> - </osSpecific> - </osSpecifics> - </service> - </services> -</metainfo> http://git-wip-us.apache.org/repos/asf/ambari/blob/c358ae0c/ambari-server/src/main/resources/stacks/HDP/3.0/widgets.json ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/3.0/widgets.json b/ambari-server/src/main/resources/stacks/HDP/3.0/widgets.json deleted file mode 100644 index 3176354..0000000 --- a/ambari-server/src/main/resources/stacks/HDP/3.0/widgets.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "layouts": [ - { - "layout_name": "default_system_heatmap", - "display_name": "Heatmaps", - "section_name": "SYSTEM_HEATMAPS", - "widgetLayoutInfo": [ - { - "widget_name": "Host Disk Space Used %", - "description": "", - "widget_type": "HEATMAP", - "is_visible": true, - "metrics": [ - { - "name": "disk_free", - "metric_path": "metrics/disk/disk_free", - "service_name": "STACK" - }, - { - "name": "disk_total", - "metric_path": "metrics/disk/disk_total", - "service_name": "STACK" - } - ], - "values": [ - { - "name": "Host Disk Space Used %", - "value": "${((disk_total-disk_free)/disk_total)*100}" - } - ], - "properties": { - "display_unit": "%", - "max_limit": "100" - } - }, - { - "widget_name": "Host Memory Used %", - "description": "", - "widget_type": "HEATMAP", - "is_visible": false, - "metrics": [ - { - "name": "mem_total", - "metric_path": "metrics/memory/mem_total", - "service_name": "STACK" - }, - { - "name": "mem_free", - "metric_path": "metrics/memory/mem_free", - "service_name": "STACK" - }, - { - "name": "mem_cached", - "metric_path": "metrics/memory/mem_cached", - "service_name": "STACK" - } - ], - "values": [ - { - "name": "Host Memory Used %", - "value": "${((mem_total-mem_free-mem_cached)/mem_total)*100}" - } - ], - "properties": { - "display_unit": "%", - "max_limit": "100" - } - }, - { - "widget_name": "Host CPU Wait IO %", - "description": "", - "widget_type": "HEATMAP", - "is_visible": false, - "metrics": [ - { - "name": "cpu_wio", - "metric_path": "metrics/cpu/cpu_wio", - "service_name": "STACK" - } - ], - "values": [ - { - "name": "Host Memory Used %", - "value": "${cpu_wio*100}" - } - ], - "properties": { - "display_unit": "%", - "max_limit": "100" - } - } - ] - } - ] -}