You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by dj...@apache.org on 2018/11/08 15:30:59 UTC

hive git commit: HIVE-20868 : SMB Join fails intermittently when TezDummyOperator has child op in getFinalOp in MapRecordProcessor(Deepak Jaiswal, reviewed by Gopal V)

Repository: hive
Updated Branches:
  refs/heads/master ad597b026 -> ffb78b521


HIVE-20868 : SMB Join fails intermittently when TezDummyOperator has child op in getFinalOp in MapRecordProcessor(Deepak Jaiswal, reviewed by Gopal V)


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

Branch: refs/heads/master
Commit: ffb78b521cbd977d575374169392b0b3231024dc
Parents: ad597b0
Author: Deepak Jaiswal <dj...@apache.org>
Authored: Thu Nov 8 07:30:04 2018 -0800
Committer: Deepak Jaiswal <dj...@apache.org>
Committed: Thu Nov 8 07:30:04 2018 -0800

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/exec/TezDummyStoreOperator.java    | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/ffb78b52/ql/src/java/org/apache/hadoop/hive/ql/exec/TezDummyStoreOperator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/TezDummyStoreOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/TezDummyStoreOperator.java
index d00057a..08c1cc4 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/TezDummyStoreOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/TezDummyStoreOperator.java
@@ -37,7 +37,7 @@ public class TezDummyStoreOperator extends DummyStoreOperator {
     super(ctx);
   }
 
-  private boolean fetchDone = false;
+  private transient boolean fetchDone = false;
 
   /**
    * Unlike the MR counterpoint, on Tez we want processOp to forward
@@ -56,4 +56,10 @@ public class TezDummyStoreOperator extends DummyStoreOperator {
   public void setFetchDone(boolean fetchDone) {
     this.fetchDone = fetchDone;
   }
+
+  @Override
+  public void closeOp(boolean abort) throws HiveException {
+    super.closeOp(abort);
+    fetchDone = false;
+  }
 }