sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cheol...@apache.org
Subject git commit: SQOOP-825: Warning for incorrect usage of hive parameters is not checking HIVE_HOME correctly
Date Thu, 10 Jan 2013 16:08:33 GMT
Updated Branches:
  refs/heads/trunk fea72de6e -> fd0143b5a


SQOOP-825: Warning for incorrect usage of hive parameters is not
checking HIVE_HOME correctly

(Jarek Jarcec Cecho via Cheolsoo Park)


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

Branch: refs/heads/trunk
Commit: fd0143b5ae3d6a616d76d50c0df212a0291e4e41
Parents: fea72de
Author: Cheolsoo Park <cheolsoo@apache.org>
Authored: Thu Jan 10 08:06:44 2013 -0800
Committer: Cheolsoo Park <cheolsoo@apache.org>
Committed: Thu Jan 10 08:06:44 2013 -0800

----------------------------------------------------------------------
 src/java/org/apache/sqoop/tool/BaseSqoopTool.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/fd0143b5/src/java/org/apache/sqoop/tool/BaseSqoopTool.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/tool/BaseSqoopTool.java b/src/java/org/apache/sqoop/tool/BaseSqoopTool.java
index c0221c9..ea8a3f4 100644
--- a/src/java/org/apache/sqoop/tool/BaseSqoopTool.java
+++ b/src/java/org/apache/sqoop/tool/BaseSqoopTool.java
@@ -1021,7 +1021,7 @@ public abstract class BaseSqoopTool extends com.cloudera.sqoop.tool.SqoopTool
{
     // Warn about using hive specific arguments without hive import itself
     if (!options.doHiveImport()
       && ((options.getHiveHome() != null
-            && options.getHiveHome().equals(SqoopOptions.getHiveHomeDefault()))
+            && !options.getHiveHome().equals(SqoopOptions.getHiveHomeDefault()))
         || options.doOverwriteHiveTable()
         || options.doFailIfHiveTableExists()
         || (options.getHiveTableName() != null


Mime
View raw message