Prechádzať zdrojové kódy

AMBARI-4132. Stale config indicator not shown when reconfiguring WebHCat, Ganglia, Nagios, ZooKeeper. (swagle)

Siddharth Wagle 11 rokov pred
rodič
commit
1366975c5f
22 zmenil súbory, kde vykonal 371 pridanie a 0 odobranie
  1. 4 0
      ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/metainfo.xml
  2. 4 0
      ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/metainfo.xml
  3. 4 0
      ambari-server/src/main/resources/stacks/HDP/1.3.2/services/WEBHCAT/metainfo.xml
  4. 4 0
      ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/metainfo.xml
  5. 4 0
      ambari-server/src/main/resources/stacks/HDP/1.3.3/services/GANGLIA/metainfo.xml
  6. 4 0
      ambari-server/src/main/resources/stacks/HDP/1.3.3/services/NAGIOS/metainfo.xml
  7. 5 0
      ambari-server/src/main/resources/stacks/HDP/1.3.3/services/WEBHCAT/metainfo.xml
  8. 4 0
      ambari-server/src/main/resources/stacks/HDP/1.3.3/services/ZOOKEEPER/metainfo.xml
  9. 51 0
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/configuration/global.xml
  10. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/metainfo.xml
  11. 51 0
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/configuration/global.xml
  12. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/metainfo.xml
  13. 51 0
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/configuration/global.xml
  14. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/metainfo.xml
  15. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/metainfo.xml
  16. 51 0
      ambari-server/src/main/resources/stacks/HDP/2.0.8/services/GANGLIA/configuration/global.xml
  17. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.8/services/GANGLIA/metainfo.xml
  18. 51 0
      ambari-server/src/main/resources/stacks/HDP/2.0.8/services/NAGIOS/configuration/global.xml
  19. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.8/services/NAGIOS/metainfo.xml
  20. 51 0
      ambari-server/src/main/resources/stacks/HDP/2.0.8/services/WEBHCAT/configuration/global.xml
  21. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.8/services/WEBHCAT/metainfo.xml
  22. 4 0
      ambari-server/src/main/resources/stacks/HDP/2.0.8/services/ZOOKEEPER/metainfo.xml

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/metainfo.xml

@@ -37,4 +37,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/metainfo.xml

@@ -27,4 +27,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/WEBHCAT/metainfo.xml

@@ -27,5 +27,9 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+    <config-type>webhcat-site</config-type>
+  </configuration-dependencies>
 
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/ZOOKEEPER/metainfo.xml

@@ -32,4 +32,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.3/services/GANGLIA/metainfo.xml

@@ -37,4 +37,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.3/services/NAGIOS/metainfo.xml

@@ -27,4 +27,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 5 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.3/services/WEBHCAT/metainfo.xml

@@ -27,5 +27,10 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+    <config-type>webhcat-site</config-type>
+  </configuration-dependencies>
+
 
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/1.3.3/services/ZOOKEEPER/metainfo.xml

@@ -32,4 +32,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 51 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/configuration/global.xml

@@ -0,0 +1,51 @@
+<?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>ganglia_conf_dir</name>
+    <value>/etc/ganglia/hdp</value>
+    <description></description>
+  </property>
+  <property>
+    <name>ganglia_runtime_dir</name>
+    <value>/var/run/ganglia/hdp</value>
+    <description></description>
+  </property>
+  <property>
+    <name>gmetad_user</name>
+    <value>nobody</value>
+    <description></description>
+  </property>
+  <property>
+    <name>gmond_user</name>
+    <value>nobody</value>
+    <description></description>
+  </property>
+  <property>
+    <name>rrdcached_base_dir</name>
+    <value>/var/lib/ganglia/rrds</value>
+    <description>Location of rrd files.</description>
+  </property>
+
+</configuration>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/metainfo.xml

@@ -33,4 +33,8 @@
 
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 51 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/configuration/global.xml

@@ -0,0 +1,51 @@
+<?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_contact</name>
+    <value></value>
+    <description>Email address.</description>
+  </property>
+  <property>
+    <name>nagios_group</name>
+    <value>nagios</value>
+    <description></description>
+  </property>
+  <property>
+    <name>nagios_user</name>
+    <value>nagios</value>
+    <description>Nagios process user.</description>
+  </property>
+  <property>
+    <name>nagios_web_login</name>
+    <value>nagiosadmin</value>
+    <description>Web user name.</description>
+  </property>
+  <property>
+    <name>nagios_web_password</name>
+    <value></value>
+    <description></description>
+  </property>
+
+</configuration>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/metainfo.xml

@@ -27,4 +27,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 51 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/configuration/global.xml

@@ -0,0 +1,51 @@
+<?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>hcat_conf_dir</name>
+    <value></value>
+    <description></description>
+  </property>
+  <property>
+    <name>hcat_log_dir</name>
+    <value>/var/log/webhcat</value>
+    <description></description>
+  </property>
+  <property>
+    <name>hcat_pid_dir</name>
+    <value>/var/run/webhcat</value>
+    <description></description>
+  </property>
+  <property>
+    <name>hcat_user</name>
+    <value>hcat</value>
+    <description></description>
+  </property>
+  <property>
+    <name>webhcat_user</name>
+    <value>hcat</value>
+    <description></description>
+  </property>
+
+</configuration>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/WEBHCAT/metainfo.xml

@@ -27,5 +27,9 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+    <config-type>webhcat-site</config-type>
+  </configuration-dependencies>
 
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/metainfo.xml

@@ -32,4 +32,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 51 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.8/services/GANGLIA/configuration/global.xml

@@ -0,0 +1,51 @@
+<?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>ganglia_conf_dir</name>
+    <value>/etc/ganglia/hdp</value>
+    <description></description>
+  </property>
+  <property>
+    <name>ganglia_runtime_dir</name>
+    <value>/var/run/ganglia/hdp</value>
+    <description></description>
+  </property>
+  <property>
+    <name>gmetad_user</name>
+    <value>nobody</value>
+    <description></description>
+  </property>
+  <property>
+    <name>gmond_user</name>
+    <value>nobody</value>
+    <description></description>
+  </property>
+  <property>
+    <name>rrdcached_base_dir</name>
+    <value>/var/lib/ganglia/rrds</value>
+    <description>Location of rrd files.</description>
+  </property>
+
+</configuration>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.8/services/GANGLIA/metainfo.xml

@@ -33,4 +33,8 @@
 
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 51 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.8/services/NAGIOS/configuration/global.xml

@@ -0,0 +1,51 @@
+<?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_contact</name>
+    <value></value>
+    <description>Email address.</description>
+  </property>
+  <property>
+    <name>nagios_group</name>
+    <value>nagios</value>
+    <description></description>
+  </property>
+  <property>
+    <name>nagios_user</name>
+    <value>nagios</value>
+    <description>Nagios process user.</description>
+  </property>
+  <property>
+    <name>nagios_web_login</name>
+    <value>nagiosadmin</value>
+    <description>Web user name.</description>
+  </property>
+  <property>
+    <name>nagios_web_password</name>
+    <value></value>
+    <description></description>
+  </property>
+
+</configuration>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.8/services/NAGIOS/metainfo.xml

@@ -27,4 +27,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>

+ 51 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.8/services/WEBHCAT/configuration/global.xml

@@ -0,0 +1,51 @@
+<?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>hcat_conf_dir</name>
+    <value></value>
+    <description></description>
+  </property>
+  <property>
+    <name>hcat_log_dir</name>
+    <value>/var/log/webhcat</value>
+    <description></description>
+  </property>
+  <property>
+    <name>hcat_pid_dir</name>
+    <value>/var/run/webhcat</value>
+    <description></description>
+  </property>
+  <property>
+    <name>hcat_user</name>
+    <value>hcat</value>
+    <description></description>
+  </property>
+  <property>
+    <name>webhcat_user</name>
+    <value>hcat</value>
+    <description></description>
+  </property>
+
+</configuration>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.8/services/WEBHCAT/metainfo.xml

@@ -27,5 +27,9 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+    <config-type>webhcat-site</config-type>
+  </configuration-dependencies>
 
 </metainfo>

+ 4 - 0
ambari-server/src/main/resources/stacks/HDP/2.0.8/services/ZOOKEEPER/metainfo.xml

@@ -32,4 +32,8 @@
         </component>
     </components>
 
+  <configuration-dependencies>
+    <config-type>global</config-type>
+  </configuration-dependencies>
+
 </metainfo>