You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vi...@apache.org on 2012/07/03 22:25:54 UTC
svn commit: r1356915 - in /incubator/ambari/trunk: ./ hmc/conf/ hmc/db/
hmc/puppet/agent/ hmc/puppet/conf/ hmc/puppet/master/
hmc/puppet/modules/hdp-hadoop/templates/
hmc/puppet/modules/hdp-hbase/templates/
hmc/puppet/modules/hdp-nagios/templates/ hmc/...
Author: vikram
Date: Tue Jul 3 20:25:50 2012
New Revision: 1356915
URL: http://svn.apache.org/viewvc?rev=1356915&view=rev
Log:
AMBARI rat tool compliance for special files (Contributed by hitesh and vikram)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/hmc/conf/hmc.conf
incubator/ambari/trunk/hmc/db/schema.dump
incubator/ambari/trunk/hmc/puppet/agent/auth.conf
incubator/ambari/trunk/hmc/puppet/agent/namespaceauth.conf
incubator/ambari/trunk/hmc/puppet/conf/puppet.conf.template
incubator/ambari/trunk/hmc/puppet/conf/puppetmaster.conf.template
incubator/ambari/trunk/hmc/puppet/master/auth.conf
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/capacity-scheduler.xml.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/commons-logging.properties.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/core-site.xml.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-env.sh.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-policy.xml.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hdfs-site.xml.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-queue-acls.xml.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-site.xml.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/taskcontroller.cfg.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-hbase/templates/log4j.properties.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/contacts.cfg.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-commands.cfg.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/nagios.cfg.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/log4j.properties.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/pig.properties.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-templeton/templates/templeton-env.sh.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/log4j.properties.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/zoo.cfg.erb
incubator/ambari/trunk/hmc/puppet/modules/hdp/templates/snmpd.conf.erb
incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hadoop.sh
incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hbase.sh
incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hive_metastore_status.sh
incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_oozie_status.sh
incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_webui.sh
incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generateAll.sh
incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_hdp_json.php
incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_json.php
incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_hdp_json.php
incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_json.php
incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_hdp_json.php
incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_json.php
incubator/ambari/trunk/rat-excludes.txt
Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Tue Jul 3 20:25:50 2012
@@ -4,7 +4,9 @@ Note: Committers should be listed using
should be listed by their full name. Please keep the file to a max of 80
characters wide.
-Release 1.0.0 - unreleased
+Release 0.9.0 - unreleased
+
+ Rat tool compliance on special files. (hitesh and vikram)
AMBARI-588. Externalize the manager service name and point the Help link to
a valid URL (yusaku)
Modified: incubator/ambari/trunk/hmc/conf/hmc.conf
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/conf/hmc.conf?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/conf/hmc.conf (original)
+++ incubator/ambari/trunk/hmc/conf/hmc.conf Tue Jul 3 20:25:50 2012
@@ -1,10 +1,20 @@
-# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
-# Last Modified: 11-26-2005
-#
-# This file contains examples of entries that need
-# to be incorporated into your Apache web server
-# configuration file. Customize the paths, etc. as
-# needed to fit your system.
+#/*
+# * 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.
+# */
Alias /hmc "/usr/share/hmc"
Modified: incubator/ambari/trunk/hmc/db/schema.dump
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/db/schema.dump?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/db/schema.dump (original)
+++ incubator/ambari/trunk/hmc/db/schema.dump Tue Jul 3 20:25:50 2012
@@ -1,3 +1,20 @@
+-- /*
+-- * 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.
+-- */
BEGIN TRANSACTION;
CREATE TABLE "Clusters" (
Modified: incubator/ambari/trunk/hmc/puppet/agent/auth.conf
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/agent/auth.conf?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/agent/auth.conf (original)
+++ incubator/ambari/trunk/hmc/puppet/agent/auth.conf Tue Jul 3 20:25:50 2012
@@ -1,3 +1,21 @@
+#/*
+# * 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.
+# */
+
path /run
auth any
allow TODO_PUPPET_MASTER
Modified: incubator/ambari/trunk/hmc/puppet/agent/namespaceauth.conf
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/agent/namespaceauth.conf?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/agent/namespaceauth.conf (original)
+++ incubator/ambari/trunk/hmc/puppet/agent/namespaceauth.conf Tue Jul 3 20:25:50 2012
@@ -0,0 +1,18 @@
+#/*
+# * 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.
+# */
+
Modified: incubator/ambari/trunk/hmc/puppet/conf/puppet.conf.template
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/conf/puppet.conf.template?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/conf/puppet.conf.template (original)
+++ incubator/ambari/trunk/hmc/puppet/conf/puppet.conf.template Tue Jul 3 20:25:50 2012
@@ -1,3 +1,21 @@
+#/*
+# * 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.
+# */
+
[main]
# The Puppet log directory.
# The default value is '$vardir/log'.
Modified: incubator/ambari/trunk/hmc/puppet/conf/puppetmaster.conf.template
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/conf/puppetmaster.conf.template?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/conf/puppetmaster.conf.template (original)
+++ incubator/ambari/trunk/hmc/puppet/conf/puppetmaster.conf.template Tue Jul 3 20:25:50 2012
@@ -1,3 +1,20 @@
+#/*
+# * 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.
+# */
# you probably want to tune these settings
PassengerHighPerformance on
Modified: incubator/ambari/trunk/hmc/puppet/master/auth.conf
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/master/auth.conf?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/master/auth.conf (original)
+++ incubator/ambari/trunk/hmc/puppet/master/auth.conf Tue Jul 3 20:25:50 2012
@@ -1,3 +1,21 @@
+#/*
+# * 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.
+# */
+
# This is an example auth.conf file, it mimics the puppetmasterd defaults
#
# The ACL are checked in order of appearance in this file.
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/capacity-scheduler.xml.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/capacity-scheduler.xml.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/capacity-scheduler.xml.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/capacity-scheduler.xml.erb Tue Jul 3 20:25:50 2012
@@ -1,5 +1,22 @@
<?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.
+-->
+
<!-- This is the configuration file for the resource manager in Hadoop. -->
<!-- You can configure various scheduling parameters related to queues. -->
<!-- The properties for a queue follow a naming convention,such as, -->
@@ -48,4 +65,4 @@
</description>
</property>
-</configuration>
\ No newline at end of file
+</configuration>
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/commons-logging.properties.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/commons-logging.properties.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/commons-logging.properties.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/commons-logging.properties.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,21 @@
+#/*
+# * 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.
+# */
+
#Logging Implementation
#Log4J
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/core-site.xml.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/core-site.xml.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/core-site.xml.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/core-site.xml.erb Tue Jul 3 20:25:50 2012
@@ -1,6 +1,23 @@
<?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">
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-env.sh.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-env.sh.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-env.sh.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-env.sh.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,21 @@
+#/*
+# * 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.
+# */
+
# Set Hadoop-specific environment variables here.
# The only required environment variable is JAVA_HOME. All others are
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-policy.xml.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-policy.xml.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-policy.xml.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hadoop-policy.xml.erb Tue Jul 3 20:25:50 2012
@@ -1,6 +1,23 @@
<?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>
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hdfs-site.xml.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hdfs-site.xml.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hdfs-site.xml.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/hdfs-site.xml.erb Tue Jul 3 20:25:50 2012
@@ -1,6 +1,23 @@
<?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>
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-queue-acls.xml.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-queue-acls.xml.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-queue-acls.xml.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-queue-acls.xml.erb Tue Jul 3 20:25:50 2012
@@ -1,6 +1,23 @@
<?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.
+-->
+
<!-- mapred-queue-acls.xml -->
<configuration>
@@ -19,4 +36,4 @@
<!-- END ACLs -->
-</configuration>
\ No newline at end of file
+</configuration>
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-site.xml.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-site.xml.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-site.xml.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/mapred-site.xml.erb Tue Jul 3 20:25:50 2012
@@ -1,6 +1,23 @@
<?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">
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/taskcontroller.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/taskcontroller.cfg.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/taskcontroller.cfg.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hadoop/templates/taskcontroller.cfg.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,20 @@
+#/*
+# * 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.
+# */
mapred.local.dir=<%=scope.function_hdp_template_var("mapred_local_dir")%>
mapreduce.tasktracker.group=hadoop
hadoop.log.dir=<%=scope.function_hdp_template_var("hadoop_logdirprefix")%>/<%=scope.function_hdp_template_var("mapred_user")%>
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-hbase/templates/log4j.properties.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-hbase/templates/log4j.properties.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-hbase/templates/log4j.properties.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-hbase/templates/log4j.properties.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,25 @@
+#
+#
+# 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.
+#
+#
+#
+
# Define some default values that can be overridden by system properties
hbase.root.logger=INFO,console
hbase.log.dir=.
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/contacts.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/contacts.cfg.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/contacts.cfg.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/contacts.cfg.erb Tue Jul 3 20:25:50 2012
@@ -13,6 +13,27 @@
#
###############################################################################
+#
+#
+# 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.
+#
+#
+#
###############################################################################
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-commands.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-commands.cfg.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-commands.cfg.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-commands.cfg.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,25 @@
+#
+#
+# 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.
+#
+#
+#
+
# 'check_cpu' check remote cpu load
define command {
command_name check_cpu
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,25 @@
+#
+#
+# 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.
+#
+#
+
+
# NAGIOS SERVER Check (status log update)
<%if scope.function_hdp_nagios_members_exist('nagios-server')-%>
define service {
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/nagios.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/nagios.cfg.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/nagios.cfg.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-nagios/templates/nagios.cfg.erb Tue Jul 3 20:25:50 2012
@@ -10,6 +10,26 @@
#
##############################################################################
+#
+#
+# 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.
+#
+#
# LOG FILE
# This is the main log file where service and host events are logged
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/log4j.properties.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/log4j.properties.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/log4j.properties.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/log4j.properties.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,25 @@
+#
+#
+# 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.
+#
+#
+#
+
# ***** Set root logger level to DEBUG and its only appender to A.
log4j.logger.org.apache.pig=info, A
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/pig.properties.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/pig.properties.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/pig.properties.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-pig/templates/pig.properties.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,25 @@
+#
+#
+# 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.
+#
+#
+#
+
# Pig configuration file. All values can be overwritten by command line arguments.
# log4jconf log4j configuration file
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-templeton/templates/templeton-env.sh.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-templeton/templates/templeton-env.sh.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-templeton/templates/templeton-env.sh.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-templeton/templates/templeton-env.sh.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,25 @@
+#
+#
+# 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.
+#
+#
+#
+
# The file containing the running pid
PID_FILE=<%=scope.function_hdp_template_var("templeton_pid_dir")%>/templeton.pid
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/log4j.properties.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/log4j.properties.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/log4j.properties.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/log4j.properties.erb Tue Jul 3 20:25:50 2012
@@ -1,4 +1,26 @@
#
+#
+# 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.
+#
+#
+#
+
+#
# ZooKeeper Logging Configuration
#
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/zoo.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/zoo.cfg.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/zoo.cfg.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp-zookeeper/templates/zoo.cfg.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,25 @@
+#
+#
+# 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.
+#
+#
+#
+
# The number of milliseconds of each tick
tickTime=<%=scope.function_hdp_template_var("tickTime")%>
# The number of ticks that the initial
Modified: incubator/ambari/trunk/hmc/puppet/modules/hdp/templates/snmpd.conf.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/hmc/puppet/modules/hdp/templates/snmpd.conf.erb?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/hmc/puppet/modules/hdp/templates/snmpd.conf.erb (original)
+++ incubator/ambari/trunk/hmc/puppet/modules/hdp/templates/snmpd.conf.erb Tue Jul 3 20:25:50 2012
@@ -1,3 +1,21 @@
+#/*
+# * 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.
+# */
+
com2sec notConfigUser <%=scope.function_hdp_template_var("snmp_source")%> <%=scope.function_hdp_template_var("snmp_community")%>
group notConfigGroup v1 notConfigUser
group notConfigGroup v2c notConfigUser
Modified: incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hadoop.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hadoop.sh?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hadoop.sh (original)
+++ incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hadoop.sh Tue Jul 3 20:25:50 2012
@@ -1,4 +1,24 @@
#!/bin/bash
+#
+#
+# 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.
+#
+#
user=""
secure="false"
Modified: incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hbase.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hbase.sh?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hbase.sh (original)
+++ incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hbase.sh Tue Jul 3 20:25:50 2012
@@ -1,4 +1,24 @@
#!/bin/bash
+#
+#
+# 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.
+#
+#
user=""
secure="false"
Modified: incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hive_metastore_status.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hive_metastore_status.sh?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hive_metastore_status.sh (original)
+++ incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_hive_metastore_status.sh Tue Jul 3 20:25:50 2012
@@ -1,4 +1,24 @@
#!/usr/bin/env bash
+#
+#
+# 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.
+#
+#
#The uri is of the form thrift://<hostname>:<port>
HOST=$1
PORT=$2
Modified: incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_oozie_status.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_oozie_status.sh?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_oozie_status.sh (original)
+++ incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_oozie_status.sh Tue Jul 3 20:25:50 2012
@@ -1,4 +1,24 @@
#!/usr/bin/env bash
+#
+#
+# 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.
+#
+#
# OOZIE_URL is of the form http://<hostname>:<port>/oozie
HOST=$1
PORT=$2
Modified: incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_webui.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_webui.sh?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_webui.sh (original)
+++ incubator/ambari/trunk/mon_dashboard/src/addOns/nagios/plugins/check_webui.sh Tue Jul 3 20:25:50 2012
@@ -1,4 +1,24 @@
#!/bin/bash
+#
+#
+# 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.
+#
+#
checkurl () {
url=$1
/usr/bin/wget -q $url -O /dev/null
Modified: incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generateAll.sh
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generateAll.sh?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generateAll.sh (original)
+++ incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generateAll.sh Tue Jul 3 20:25:50 2012
@@ -1,4 +1,24 @@
#!/bin/sh
+#
+#
+# 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.
+#
+#
GRAPH_INFO_JSON_PATH="../../../src/dataServices/ganglia/graph_info";
Modified: incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_hdp_json.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_hdp_json.php?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_hdp_json.php (original)
+++ incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_hdp_json.php Tue Jul 3 20:25:50 2012
@@ -1,4 +1,25 @@
<?php
+/*
+ *
+ * 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.
+ *
+*/
+
$data = array
(
Modified: incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_json.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_json.php?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_json.php (original)
+++ incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_dashboard_json.php Tue Jul 3 20:25:50 2012
@@ -1,4 +1,25 @@
<?php
+/*
+ *
+ * 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.
+ *
+*/
+
$data = array
(
Modified: incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_hdp_json.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_hdp_json.php?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_hdp_json.php (original)
+++ incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_hdp_json.php Tue Jul 3 20:25:50 2012
@@ -1,4 +1,25 @@
<?php
+/*
+ *
+ * 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.
+ *
+*/
+
$data = array
(
Modified: incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_json.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_json.php?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_json.php (original)
+++ incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_hdfs_json.php Tue Jul 3 20:25:50 2012
@@ -1,4 +1,25 @@
<?php
+/*
+ *
+ * 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.
+ *
+*/
+
$data = array
(
Modified: incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_hdp_json.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_hdp_json.php?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_hdp_json.php (original)
+++ incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_hdp_json.php Tue Jul 3 20:25:50 2012
@@ -1,4 +1,25 @@
<?php
+/*
+ *
+ * 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.
+ *
+*/
+
$data = array
(
Modified: incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_json.php
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_json.php?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_json.php (original)
+++ incubator/ambari/trunk/mon_dashboard/utils/dataServices/ganglia/generate_mapreduce_json.php Tue Jul 3 20:25:50 2012
@@ -1,4 +1,25 @@
<?php
+/*
+ *
+ * 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.
+ *
+*/
+
$data = array
(
Modified: incubator/ambari/trunk/rat-excludes.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/rat-excludes.txt?rev=1356915&r1=1356914&r2=1356915&view=diff
==============================================================================
--- incubator/ambari/trunk/rat-excludes.txt (original)
+++ incubator/ambari/trunk/rat-excludes.txt Tue Jul 3 20:25:50 2012
@@ -1,7 +1,7 @@
[^ ]*/*.json
[^ ]*/*.txt
[^ ]*/*.afm
-[^ ]*/*.erb
+[^ ]*/stdlib/*[^ ]*
[^ ]*/*.gitignore
[^ ]*/*.conf
[^ ]*/*.template
@@ -16,3 +16,7 @@
[^ ]*/*yui-min.js
[^ ]*/*yuiCombined.js
[^ ]*/*jquery.min.js
+[^ ]*/*hadoop-hosts.cfg.erb
+[^ ]*/*hadoop-servicegroups.cfg.erb
+[^ ]*/*hadoop-hostgroups.cfg.erb
+[^ ]*/*regionservers.erb