You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by sz...@apache.org on 2015/04/23 04:34:52 UTC
[43/44] hive git commit: HIVE-9969: Avoid Utilities.getMapRedWork for
spark [Spark Branch] (Rui reviewed by Xuefu)
HIVE-9969: Avoid Utilities.getMapRedWork for spark [Spark Branch] (Rui reviewed by Xuefu)
git-svn-id: https://svn.apache.org/repos/asf/hive/branches/spark@1670565 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/d3b2ce1a
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/d3b2ce1a
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/d3b2ce1a
Branch: refs/heads/master
Commit: d3b2ce1a6307f83ec3b277b739182e714c9a5867
Parents: 93d5925
Author: Rui Li <li...@apache.org>
Authored: Wed Apr 1 05:03:43 2015 +0000
Committer: Szehon Ho <sz...@cloudera.com>
Committed: Wed Apr 22 19:33:53 2015 -0700
----------------------------------------------------------------------
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java | 2 +-
.../apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/d3b2ce1a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
index 56fad2f..3ee73ef 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
@@ -3697,7 +3697,7 @@ public final class Utilities {
public static boolean isVectorMode(Configuration conf) {
if (HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED) &&
Utilities.getPlanPath(conf) != null && Utilities
- .getMapRedWork(conf).getMapWork().getVectorMode()) {
+ .getMapWork(conf).getVectorMode()) {
return true;
}
return false;
http://git-wip-us.apache.org/repos/asf/hive/blob/d3b2ce1a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java
index 68c4df7..db382cd 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java
@@ -166,7 +166,7 @@ public class VectorizedRowBatchCtx {
HiveException {
Map<String, PartitionDesc> pathToPartitionInfo = Utilities
- .getMapRedWork(hiveConf).getMapWork().getPathToPartitionInfo();
+ .getMapWork(hiveConf).getPathToPartitionInfo();
PartitionDesc part = HiveFileFormatUtils
.getPartitionDescFromPathRecursively(pathToPartitionInfo,