hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject svn commit: r1670565 - in /hive/branches/spark/ql/src/java/org/apache/hadoop/hive/ql/exec: Utilities.java vector/VectorizedRowBatchCtx.java
Date Wed, 01 Apr 2015 05:03:44 GMT
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,



Mime
View raw message