sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mau...@apache.org
Subject sqoop git commit: SQOOP-3135: Improve error message of Sqoop in case of missing password by adding the related ParseException stack trace
Date Fri, 24 Feb 2017 06:50:31 GMT
Repository: sqoop
Updated Branches:
  refs/heads/trunk 9466a0c7d -> 0bb039a00


SQOOP-3135: Improve error message of Sqoop in case of missing password
by adding the related ParseException stack trace

(Eric Lin via Attila Szabo)


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

Branch: refs/heads/trunk
Commit: 0bb039a002f1b6bc7ccea1370689ecd04830a0cf
Parents: 9466a0c
Author: Attila Szabo <maugli@apache.org>
Authored: Fri Feb 24 07:45:39 2017 +0100
Committer: Attila Szabo <maugli@apache.org>
Committed: Fri Feb 24 07:45:39 2017 +0100

----------------------------------------------------------------------
 src/java/org/apache/sqoop/tool/JobTool.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/0bb039a0/src/java/org/apache/sqoop/tool/JobTool.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/sqoop/tool/JobTool.java b/src/java/org/apache/sqoop/tool/JobTool.java
index 8e1669c..054e274 100644
--- a/src/java/org/apache/sqoop/tool/JobTool.java
+++ b/src/java/org/apache/sqoop/tool/JobTool.java
@@ -126,7 +126,7 @@ public class JobTool extends com.cloudera.sqoop.tool.BaseSqoopTool {
       childTool.appendArgs(extraChildArgv);
       childTool.validateOptions(childOptions);
     } catch (ParseException pe) {
-      LOG.error("Error parsing arguments to the job-specific tool.");
+      LOG.error("Error parsing arguments to the job-specific tool: ", pe);
       LOG.error("See 'sqoop help <tool>' for usage.");
       return 1;
     } catch (SqoopOptions.InvalidOptionsException e) {


Mime
View raw message