You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by se...@apache.org on 2016/04/05 20:02:15 UTC

[2/3] hive git commit: HIVE-13108: Operators: SORT BY randomness is not safe with network partitions (Gopal V, reviewed by Sergey Shelukhin)

HIVE-13108: Operators: SORT BY randomness is not safe with network partitions (Gopal V, reviewed by Sergey Shelukhin)


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

Branch: refs/heads/branch-2.0
Commit: 97ba6f69986564d348f70c63f8a017a3a75df8cc
Parents: b82a2ce
Author: Gopal V <go...@apache.org>
Authored: Wed Mar 2 22:45:55 2016 -0800
Committer: Sergey Shelukhin <se...@apache.org>
Committed: Tue Apr 5 10:58:14 2016 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/exec/ReduceSinkOperator.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/97ba6f69/ql/src/java/org/apache/hadoop/hive/ql/exec/ReduceSinkOperator.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReduceSinkOperator.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReduceSinkOperator.java
index 74b4802..24642af 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReduceSinkOperator.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReduceSinkOperator.java
@@ -571,6 +571,7 @@ public class ReduceSinkOperator extends TerminalOperator<ReduceSinkDesc>
     }
     super.closeOp(abort);
     out = null;
+    random = null;
     if (isLogInfoEnabled) {
       LOG.info(toString() + ": records written - " + numRows);
     }