You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sm...@apache.org on 2017/01/05 15:51:02 UTC
ambari git commit: AMBARI-19375. Update the execution mode for hive
interactive in HDP 2.6 stack (Siddharth Seth via smohanty)
Repository: ambari
Updated Branches:
refs/heads/branch-2.5 11c8067e0 -> 4ea61b72a
AMBARI-19375. Update the execution mode for hive interactive in HDP 2.6 stack (Siddharth Seth via smohanty)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/4ea61b72
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/4ea61b72
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/4ea61b72
Branch: refs/heads/branch-2.5
Commit: 4ea61b72a2682ab6822fa435b8aac933d23b305d
Parents: 11c8067
Author: Sumit Mohanty <sm...@hortonworks.com>
Authored: Thu Jan 5 07:50:38 2017 -0800
Committer: Sumit Mohanty <sm...@hortonworks.com>
Committed: Thu Jan 5 07:50:38 2017 -0800
----------------------------------------------------------------------
.../org/apache/ambari/server/upgrade/UpgradeCatalog250.java | 3 +++
.../2.6/services/HIVE/configuration/hive-interactive-site.xml | 7 +++++++
2 files changed, 10 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/4ea61b72/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
index 38c7537..f6fa118 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
@@ -558,6 +558,9 @@ public class UpgradeCatalog250 extends AbstractUpgradeCatalog {
updateConfigurationProperties("hive-interactive-site", Collections.singletonMap("hive.auto.convert.join.noconditionaltask.size",
"1000000000"), true, true);
+ updateConfigurationProperties("hive-interactive-site",
+ Collections.singletonMap("hive.llap.execution.mode", "only"),
+ true, true);
}
}
}
http://git-wip-us.apache.org/repos/asf/ambari/blob/4ea61b72/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-interactive-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-interactive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-interactive-site.xml
index f33ade7..3157cd7 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-interactive-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/hive-interactive-site.xml
@@ -55,4 +55,11 @@ limitations under the License.
<on-ambari-upgrade add="true"/>
</property>
+ <property>
+ <name>hive.llap.execution.mode</name>
+ <value>only</value>
+ <description>Chooses which fragments of a query will run in llap</description>
+ <on-ambari-upgrade add="true"/>
+ </property>
+
</configuration>