You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by gu...@apache.org on 2014/10/02 07:06:47 UTC
svn commit: r1628886 -
/hive/branches/branch-0.14/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java
Author: gunther
Date: Thu Oct 2 05:06:47 2014
New Revision: 1628886
URL: http://svn.apache.org/r1628886
Log:
HIVE-8325: NPE in map join execution (submit via child) (Gunther Hagleitner, reviewed by Szehon Ho)
Modified:
hive/branches/branch-0.14/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java
Modified: hive/branches/branch-0.14/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.14/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java?rev=1628886&r1=1628885&r2=1628886&view=diff
==============================================================================
--- hive/branches/branch-0.14/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java (original)
+++ hive/branches/branch-0.14/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/MapredLocalTask.java Thu Oct 2 05:06:47 2014
@@ -302,6 +302,11 @@ public class MapredLocalTask extends Tas
if (work == null) {
return -1;
}
+
+ if (execContext == null) {
+ execContext = new ExecMapperContext(job);
+ }
+
memoryMXBean = ManagementFactory.getMemoryMXBean();
long startTime = System.currentTimeMillis();
console.printInfo(Utilities.now()