Forráskód Böngészése

AMBARI-7130 Remove HDFS dependency on GLUSTERFS stack via metainfo.xml
(Scott Creeley via eboyd)

Erin A Boyd 11 éve
szülő
commit
e1f5afe441

+ 31 - 0
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/FLUME/metainfo.xml

@@ -0,0 +1,31 @@
+<?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>FLUME</name>
+      <comment>Data management and processing platform</comment>
+      <version>1.4.0.2.1</version>
+      
+      <requiredServices>
+        <service>GLUSTERFS</service>
+      </requiredServices>      
+    </service>
+  </services>
+</metainfo>

+ 5 - 0
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HBASE/metainfo.xml

@@ -24,6 +24,11 @@
         synchronization
       </comment>
       <version>0.98.0.2.1</version>
+      
+      <requiredServices>
+        <service>ZOOKEEPER</service>
+        <service>GLUSTERFS</service>
+      </requiredServices>      
     </service>
   </services>
 </metainfo>

+ 9 - 1
ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/YARN/metainfo.xml

@@ -53,6 +53,10 @@
         </osSpecific>
       </osSpecifics>
 
+      <requiredServices>
+        <service>GLUSTERFS</service>
+      </requiredServices>
+
       <configuration-dependencies>
         <config-type>yarn-site</config-type>
         <config-type>capacity-scheduler</config-type>
@@ -61,7 +65,7 @@
         <config-type>yarn-log4j</config-type>
       </configuration-dependencies>
     </service>
- <service>
+    <service>
       <name>MAPREDUCE2</name>
       <comment>Apache Hadoop NextGen MapReduce (YARN)</comment>
       <version>2.1.0.2.0.6.0</version>
@@ -121,6 +125,10 @@
 
       <configuration-dir>configuration-mapred</configuration-dir>
 
+      <requiredServices>
+        <service>YARN</service>
+      </requiredServices>
+
       <configuration-dependencies>
         <config-type>core-site</config-type>
         <config-type>yarn-env</config-type>