hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1521188 - /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
Date Mon, 09 Sep 2013 17:02:57 GMT
Author: brock
Date: Mon Sep  9 17:02:56 2013
New Revision: 1521188

URL: http://svn.apache.org/r1521188
Log:
HIVE-4003 - NullPointerException in exec.Utilities (Mark Grover via Brock Noland)

Modified:
    hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java?rev=1521188&r1=1521187&r2=1521188&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java Mon Sep  9 17:02:56
2013
@@ -273,9 +273,8 @@ public final class Utilities {
       assert path != null;
       gWork = gWorkMap.get(path);
       if (gWork == null) {
-        String jtConf = ShimLoader.getHadoopShims().getJobLauncherRpcAddress(conf);
         Path localPath;
-        if (jtConf.equals("local")) {
+        if (ShimLoader.getHadoopShims().isLocalMode(conf)) {
           localPath = path;
         } else {
           localPath = new Path(name);



Mime
View raw message