bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject bigtop git commit: BIGTOP-2063. Provide default config to deploy hive on top of Ignite
Date Wed, 07 Oct 2015 19:41:27 GMT
Repository: bigtop
Updated Branches:
  refs/heads/master 5bc4577fc -> fb10ef775


BIGTOP-2063. Provide default config to deploy hive on top of Ignite


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/fb10ef77
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/fb10ef77
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/fb10ef77

Branch: refs/heads/master
Commit: fb10ef77571e4e81d6f1506293a2cb8cd0de6fc1
Parents: 5bc4577
Author: Konstantin Boudnik <cos@apache.org>
Authored: Mon Sep 21 16:04:11 2015 -0700
Committer: Konstantin Boudnik <cos@apache.org>
Committed: Wed Oct 7 12:41:08 2015 -0700

----------------------------------------------------------------------
 .../modules/ignite-hadoop/manifests/init.pp     |  5 +++
 .../ignite-hadoop/templates/hive-site.xml       | 33 ++++++++++++++++++++
 2 files changed, 38 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/fb10ef77/bigtop-deploy/puppet/modules/ignite-hadoop/manifests/init.pp
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/ignite-hadoop/manifests/init.pp b/bigtop-deploy/puppet/modules/ignite-hadoop/manifests/init.pp
index 81832af..d8e26df 100644
--- a/bigtop-deploy/puppet/modules/ignite-hadoop/manifests/init.pp
+++ b/bigtop-deploy/puppet/modules/ignite-hadoop/manifests/init.pp
@@ -57,6 +57,11 @@ class ignite-hadoop {
         content => template('ignite-hadoop/mapred-site.xml'),
         require => [File["/etc/hadoop/ignite.client.conf"]],
     }
+    file {
+      "/etc/hadoop/ignite.client.conf/hive-site.xml":
+        content => template('ignite-hadoop/hive-site.xml'),
+        require => [File["/etc/hadoop/ignite.client.conf"]],
+    }
 ## let's make sure that ignite-hadoop libs are linked properly
     file {'/usr/lib/hadoop/lib/ignite-core.jar':
       ensure  => link,

http://git-wip-us.apache.org/repos/asf/bigtop/blob/fb10ef77/bigtop-deploy/puppet/modules/ignite-hadoop/templates/hive-site.xml
----------------------------------------------------------------------
diff --git a/bigtop-deploy/puppet/modules/ignite-hadoop/templates/hive-site.xml b/bigtop-deploy/puppet/modules/ignite-hadoop/templates/hive-site.xml
new file mode 100644
index 0000000..1f58898
--- /dev/null
+++ b/bigtop-deploy/puppet/modules/ignite-hadoop/templates/hive-site.xml
@@ -0,0 +1,33 @@
+<?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.
+  -->
+
+<!--
+    This file contains settings needed to run Apache Hive queries
+    with Ignite In-Memory Accelerator.
+-->
+<configuration>
+    <!--
+        Ignite requires query plan to be passed not using local resource.
+    -->
+    <property>
+        <name>hive.rpc.query.plan</name>
+        <value>true</value>
+    </property>
+</configuration>
\ No newline at end of file


Mime
View raw message