|
@@ -16,30 +16,173 @@
|
|
limitations under the License.
|
|
limitations under the License.
|
|
-->
|
|
-->
|
|
<metainfo>
|
|
<metainfo>
|
|
- <user>root</user>
|
|
|
|
- <comment>Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service</comment>
|
|
|
|
- <version>0.11.0.1.3.2.0</version>
|
|
|
|
|
|
+ <schemaVersion>2.0</schemaVersion>
|
|
|
|
+ <services>
|
|
|
|
+ <service>
|
|
|
|
+ <name>HIVE</name>
|
|
|
|
+ <comment>Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service</comment>
|
|
|
|
+ <version>0.11.0.1.3.3.0</version>
|
|
|
|
+ <components>
|
|
|
|
|
|
- <components>
|
|
|
|
<component>
|
|
<component>
|
|
- <name>HIVE_METASTORE</name>
|
|
|
|
- <category>MASTER</category>
|
|
|
|
|
|
+ <name>HIVE_METASTORE</name>
|
|
|
|
+ <category>MASTER</category>
|
|
|
|
+ <!-- may be 0 if specifying external metastore, how to specify this? -->
|
|
|
|
+ <cardinality>1</cardinality>
|
|
|
|
+ <auto-deploy>
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
+ <co-locate>HIVE/HIVE_SERVER</co-locate>
|
|
|
|
+ </auto-deploy>
|
|
|
|
+ <commandScript>
|
|
|
|
+ <script>scripts/hive_metastore.py</script>
|
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
|
+ <timeout>600</timeout>
|
|
|
|
+ </commandScript>
|
|
</component>
|
|
</component>
|
|
|
|
+
|
|
|
|
+ <component>
|
|
|
|
+ <name>HIVE_SERVER</name>
|
|
|
|
+ <category>MASTER</category>
|
|
|
|
+ <cardinality>1</cardinality>
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <name>ZOOKEEPER/ZOOKEEPER_SERVER</name>
|
|
|
|
+ <scope>cluster</scope>
|
|
|
|
+ <auto-deploy>
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
+ <co-locate>HIVE/HIVE_SERVER</co-locate>
|
|
|
|
+ </auto-deploy>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+ <commandScript>
|
|
|
|
+ <script>scripts/hive_server.py</script>
|
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
|
+ </commandScript>
|
|
|
|
+ </component>
|
|
|
|
+
|
|
<component>
|
|
<component>
|
|
- <name>HIVE_SERVER</name>
|
|
|
|
- <category>MASTER</category>
|
|
|
|
|
|
+ <name>MYSQL_SERVER</name>
|
|
|
|
+ <category>MASTER</category>
|
|
|
|
+ <!-- may be 0 if specifying external db, how to specify this? -->
|
|
|
|
+ <cardinality>1</cardinality>
|
|
|
|
+ <auto-deploy>
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
+ <co-locate>HIVE/HIVE_SERVER</co-locate>
|
|
|
|
+ </auto-deploy>
|
|
|
|
+ <commandScript>
|
|
|
|
+ <script>scripts/mysql_server.py</script>
|
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
|
+ </commandScript>
|
|
</component>
|
|
</component>
|
|
|
|
+
|
|
<component>
|
|
<component>
|
|
- <name>MYSQL_SERVER</name>
|
|
|
|
- <category>MASTER</category>
|
|
|
|
|
|
+ <name>HIVE_CLIENT</name>
|
|
|
|
+ <category>CLIENT</category>
|
|
|
|
+ <cardinality>0+</cardinality>
|
|
|
|
+ <commandScript>
|
|
|
|
+ <script>scripts/hive_client.py</script>
|
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
|
+ </commandScript>
|
|
</component>
|
|
</component>
|
|
|
|
+ </components>
|
|
|
|
+
|
|
|
|
+ <osSpecifics>
|
|
|
|
+ <osSpecific>
|
|
|
|
+ <osType>any</osType>
|
|
|
|
+ <packages>
|
|
|
|
+ <package>
|
|
|
|
+ <type>rpm</type>
|
|
|
|
+ <name>hive</name>
|
|
|
|
+ </package>
|
|
|
|
+ <package>
|
|
|
|
+ <type>rpm</type>
|
|
|
|
+ <name>mysql-connector-java</name>
|
|
|
|
+ </package>
|
|
|
|
+ <package>
|
|
|
|
+ <type>rpm</type>
|
|
|
|
+ <name>mysql</name>
|
|
|
|
+ </package>
|
|
|
|
+ </packages>
|
|
|
|
+ </osSpecific>
|
|
|
|
+ <osSpecific>
|
|
|
|
+ <osType>centos6</osType>
|
|
|
|
+ <packages>
|
|
|
|
+ <package>
|
|
|
|
+ <type>rpm</type>
|
|
|
|
+ <name>mysql-server</name>
|
|
|
|
+ </package>
|
|
|
|
+ </packages>
|
|
|
|
+ </osSpecific>
|
|
|
|
+ <osSpecific>
|
|
|
|
+ <osType>centos5</osType>
|
|
|
|
+ <packages>
|
|
|
|
+ <package>
|
|
|
|
+ <type>rpm</type>
|
|
|
|
+ <name>mysql-server</name>
|
|
|
|
+ </package>
|
|
|
|
+ </packages>
|
|
|
|
+ </osSpecific>
|
|
|
|
+ <osSpecific>
|
|
|
|
+ <osType>suse</osType>
|
|
|
|
+ <packages>
|
|
|
|
+ <package>
|
|
|
|
+ <type>rpm</type>
|
|
|
|
+ <name>mysql-client</name>
|
|
|
|
+ </package>
|
|
|
|
+ </packages>
|
|
|
|
+ </osSpecific>
|
|
|
|
+ </osSpecifics>
|
|
|
|
+
|
|
|
|
+ <commandScript>
|
|
|
|
+ <script>scripts/service_check.py</script>
|
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
|
+ <timeout>300</timeout>
|
|
|
|
+ </commandScript>
|
|
|
|
+
|
|
|
|
+ <configuration-dependencies>
|
|
|
|
+ <config-type>hive-site</config-type>
|
|
|
|
+ <config-type>global</config-type>
|
|
|
|
+ <config-type>hive-log4j</config-type>
|
|
|
|
+ <config-type>hive-exec-log4j</config-type>
|
|
|
|
+ </configuration-dependencies>
|
|
|
|
+ </service>
|
|
|
|
+
|
|
|
|
+ <service>
|
|
|
|
+ <name>HCATALOG</name>
|
|
|
|
+ <comment>This is comment for HCATALOG service</comment>
|
|
|
|
+ <version>0.11.0.1.3.3.0</version>
|
|
|
|
+ <components>
|
|
<component>
|
|
<component>
|
|
- <name>HIVE_CLIENT</name>
|
|
|
|
- <category>CLIENT</category>
|
|
|
|
|
|
+ <name>HCAT</name>
|
|
|
|
+ <category>CLIENT</category>
|
|
|
|
+ <commandScript>
|
|
|
|
+ <script>scripts/hcat_client.py</script>
|
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
|
+ </commandScript>
|
|
</component>
|
|
</component>
|
|
- </components>
|
|
|
|
- <configuration-dependencies>
|
|
|
|
- <config-type>global</config-type>
|
|
|
|
- <config-type>hive-site</config-type>
|
|
|
|
- </configuration-dependencies>
|
|
|
|
|
|
+ </components>
|
|
|
|
+ <osSpecifics>
|
|
|
|
+ <osSpecific>
|
|
|
|
+ <osType>any</osType>
|
|
|
|
+ <packages>
|
|
|
|
+ <package>
|
|
|
|
+ <type>rpm</type>
|
|
|
|
+ <name>hcatalog</name>
|
|
|
|
+ </package>
|
|
|
|
+ </packages>
|
|
|
|
+ </osSpecific>
|
|
|
|
+ </osSpecifics>
|
|
|
|
+ <commandScript>
|
|
|
|
+ <script>scripts/service_check.py</script>
|
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
|
+ <timeout>300</timeout>
|
|
|
|
+ </commandScript>
|
|
|
|
+
|
|
|
|
+ <configuration-dependencies>
|
|
|
|
+ <config-type>global</config-type>
|
|
|
|
+ </configuration-dependencies>
|
|
|
|
+
|
|
|
|
+ </service>
|
|
|
|
+
|
|
|
|
+ </services>
|
|
</metainfo>
|
|
</metainfo>
|