FAQ
Author: gates
Date: Wed Apr 1 18:10:44 2015
New Revision: 1670744

URL: http://svn.apache.org/r1670744
Log:
HIVE-10136 BaseWork.vectorMode hides AbstractOperatorDesc.vectorMode (Alexander Pivovarov via Alan Gates)

Modified:
     hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AbstractOperatorDesc.java
     hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/BaseWork.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AbstractOperatorDesc.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AbstractOperatorDesc.java?rev=1670744&r1=1670743&r2=1670744&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AbstractOperatorDesc.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/AbstractOperatorDesc.java Wed Apr 1 18:10:44 2015
@@ -33,7 +33,7 @@ public class AbstractOperatorDesc implem
    static {
      PTFUtils.makeTransient(AbstractOperatorDesc.class, "opProps");
    }
-
+
    @Override
    @Explain(skipHeader = true, displayName = "Statistics")
    public Statistics getStatistics() {
@@ -50,14 +50,18 @@ public class AbstractOperatorDesc implem
      throw new CloneNotSupportedException("clone not supported");
    }

+ public boolean getVectorMode() {
+ return vectorMode;
+ }
+
    public void setVectorMode(boolean vm) {
      this.vectorMode = vm;
    }
-
+
    public OpTraits getTraits() {
      return opTraits;
    }
-
+
    public void setTraits(OpTraits opTraits) {
      this.opTraits = opTraits;
    }

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/BaseWork.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/BaseWork.java?rev=1670744&r1=1670743&r2=1670744&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/BaseWork.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/BaseWork.java Wed Apr 1 18:10:44 2015
@@ -34,7 +34,7 @@ import org.apache.hadoop.mapred.JobConf;
   * BaseWork. Base class for any "work" that's being done on the cluster. Items like stats
   * gathering that are commonly used regardless of the type of work live here.
   */
-@SuppressWarnings({"serial", "deprecation"})
+@SuppressWarnings({"serial"})
  public abstract class BaseWork extends AbstractOperatorDesc {

    // dummyOps is a reference to all the HashTableDummy operators in the
@@ -60,7 +60,6 @@ public abstract class BaseWork extends A
    // Vectorization.
    protected Map<String, Map<Integer, String>> allScratchColumnVectorTypeMaps = null;
    protected Map<String, Map<String, Integer>> allColumnVectorMaps = null;
- protected boolean vectorMode = false;

    public void setGatheringStats(boolean gatherStats) {
      this.gatheringStats = gatherStats;
@@ -175,15 +174,6 @@ public abstract class BaseWork extends A
      this.mrLocalWork = mapLocalWork;
    }

- @Override
- public void setVectorMode(boolean vectorMode) {
- this.vectorMode = vectorMode;
- }
-
- public boolean getVectorMode() {
- return vectorMode;
- }
-
    public abstract void configureJobConf(JobConf job);

    public void setTag(int tag) {

Search Discussions

Related Discussions

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

1 user in discussion

Gates: 1 post

People

Translate

site design / logo © 2021 Grokbase