[
https://issues.apache.org/jira/browse/SQOOP-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122495#comment-13122495
]
[email protected] commented on SQOOP-357:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2265/
-----------------------------------------------------------
Review request for Sqoop and Arvind Prabhakar.
Summary
-------
Currently, only the error message of the first exception in a chain will be
logged.
However, the root cause exception may be buried in the exception chain.
To help diagnose the root cause, we need to log all error messages in the chain.
This addresses bug SQOOP-357.
https://issues.apache.org/jira/browse/SQOOP-357
Diffs
-----
./src/java/com/cloudera/sqoop/mapreduce/AsyncSqlRecordWriter.java 1179036
./src/java/com/cloudera/sqoop/mapreduce/db/DBRecordReader.java 1179036
Diff: https://reviews.apache.org/r/2265/diff
Testing
-------
Thanks,
Bilung
> To make debugging easier, Sqoop should print out all the exceptions
> --------------------------------------------------------------------
>
> Key: SQOOP-357
> URL: https://issues.apache.org/jira/browse/SQOOP-357
> Project: Sqoop
> Issue Type: Improvement
> Reporter: Prashant Gokhale
> Assignee: Bilung Lee
>
> I am using sqoop version from https://github.com/apache/sqoop (trunk) . I am
> pasting some of the error message lines I get when I try to run an import
> command
> SELECT ID, FIRSTNAME, LASTNAME FROM TEST_TABLE AS TEST_TABLE WHERE ( ID >= 10
> ) AND ( ID < 15 ). Details of the failure can be found in the exception chain
> that is accessible with getNextException.
> .....
> at
> com.cloudera.sqoop.mapreduce.db.DBRecordReader.executeQuery(DBRecordReader.java:110)
> at
> com.cloudera.sqoop.mapreduce.db.DBRecordReader.nextKeyValue(DBRecordReader.java:235)
> ... 11 more
> It does not print out the entire list of exceptions.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira