hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jssa...@apache.org
Subject svn commit: r1051277 - /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
Date Mon, 20 Dec 2010 20:26:54 GMT
Author: jssarma
Date: Mon Dec 20 20:26:53 2010
New Revision: 1051277

URL: http://svn.apache.org/viewvc?rev=1051277&view=rev
Log:
commit second diff for hive-1846 (rvadali via jssarma)

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=1051277&r1=1051276&r2=1051277&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 Dec 20 20:26:53
2010
@@ -171,7 +171,7 @@ public final class Utilities {
       if (gWork == null) {
         String jtConf = HiveConf.getVar(job, HiveConf.ConfVars.HADOOPJT);
         String path;
-        if (jtConf == "local") {
+        if (jtConf.equals("local")) {
           String planPath = HiveConf.getVar(job, HiveConf.ConfVars.PLAN);
           path = new Path(planPath).toUri().getPath();
         } else {



Mime
View raw message