sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arvind Prabhakar (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SQOOP-357) To make debugging easier, Sqoop should print out all the exceptions
Date Fri, 07 Oct 2011 18:28:30 GMT

    [ https://issues.apache.org/jira/browse/SQOOP-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123041#comment-13123041
] 

Arvind Prabhakar commented on SQOOP-357:
----------------------------------------

Thanks for the patch Bilung. It triggered a checkstyle warning:

LoggingUtils: Utility classes should not have a public or default constructor.

Can you please add a private constructor to this class to disable explicit object creation?
Sorry I did not spot it during the review.
                
> 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
>         Attachments: SQOOP-357.patch
>
>
> 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

        

Mime
View raw message