hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jxi...@apache.org
Subject hive git commit: HIVE-13141: Hive on Spark over HBase should accept parameters starting with "zookeeper.znode" (Nemon Lou via Jimmy)
Date Mon, 21 Mar 2016 15:00:21 GMT
Repository: hive
Updated Branches:
  refs/heads/master a0a53713a -> 4588c6076


HIVE-13141: Hive on Spark over HBase should accept parameters starting with "zookeeper.znode"
(Nemon Lou via Jimmy)


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

Branch: refs/heads/master
Commit: 4588c6076ad09fc873f517a9b14651ebe3f25fa2
Parents: a0a5371
Author: Jimmy Xiang <jxiang@apache.org>
Authored: Mon Mar 21 07:56:36 2016 -0700
Committer: Jimmy Xiang <jxiang@apache.org>
Committed: Mon Mar 21 07:59:00 2016 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/exec/spark/HiveSparkClientFactory.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/4588c607/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/HiveSparkClientFactory.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/HiveSparkClientFactory.java
b/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/HiveSparkClientFactory.java
index 993d02b..1798622 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/HiveSparkClientFactory.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/HiveSparkClientFactory.java
@@ -146,7 +146,7 @@ public class HiveSparkClientFactory {
         if (value != null && !value.isEmpty()) {
           sparkConf.put("spark.hadoop." + propertyName, value);
         }
-      } else if (propertyName.startsWith("hbase")) {
+      } else if (propertyName.startsWith("hbase") || propertyName.startsWith("zookeeper.znode"))
{
         // Add HBase related configuration to Spark because in security mode, Spark needs
it
         // to generate hbase delegation token for Spark. This is a temp solution to deal
with
         // Spark problem.


Mime
View raw message