FAQ
Author: lirui
Date: Wed Apr 1 05:03:43 2015
New Revision: 1670565

URL: http://svn.apache.org/r1670565
Log:
HIVE-9969: Avoid Utilities.getMapRedWork for spark [Spark Branch] (Rui reviewed by Xuefu)

Modified:
     hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
     hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java

Modified: hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java?rev=1670565&r1=1670564&r2=1670565&view=diff
==============================================================================
--- hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java (original)
+++ hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java Wed Apr 1 05:03:43 2015
@@ -3668,7 +3668,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;

Modified: hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java?rev=1670565&r1=1670564&r2=1670565&view=diff
==============================================================================
--- hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java (original)
+++ hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorizedRowBatchCtx.java Wed Apr 1 05:03:43 2015
@@ -167,7 +167,7 @@ public class VectorizedRowBatchCtx {
        HiveException {

      Map<String, PartitionDesc> pathToPartitionInfo = Utilities
- .getMapRedWork(hiveConf).getMapWork().getPathToPartitionInfo();
+ .getMapWork(hiveConf).getPathToPartitionInfo();

      PartitionDesc part = HiveFileFormatUtils
          .getPartitionDescFromPathRecursively(pathToPartitionInfo,

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedApr 1, '15 at 5:03a
activeApr 1, '15 at 5:03a
posts1
users1
websitehive.apache.org

1 user in discussion

Lirui: 1 post

People

Translate

site design / logo © 2021 Grokbase