[ 
https://issues.apache.org/jira/browse/SQOOP-3433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Lin reassigned SQOOP-3433:
-------------------------------

    Assignee: Eric Lin

> Improve Error Message if No User Mapping Found
> ----------------------------------------------
>
>                 Key: SQOOP-3433
>                 URL: https://issues.apache.org/jira/browse/SQOOP-3433
>             Project: Sqoop
>          Issue Type: Improvement
>          Components: hive-integration
>    Affects Versions: 1.5.0
>            Reporter: David Mollitor
>            Assignee: Eric Lin
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code:java|title=TableDefWriter.java}
>       if (!found) {
>         throw new IllegalArgumentException("No column by the name " + column
>                 + "found while importing data");
>       }
> {code}
> I noticed that the word 'found' does not have a space before it, so the error 
> message is a bit unclear.   Unfortunately, there is a unit test that affirms 
> this incorrect behavior.
> Also, there may be more than one column name unaccounted for, so it would be 
> difficult to troubleshoot this issue by having to re-run this method several 
> times to get each erroneous column name.  Instead, report all of the missing 
> columns in the error message.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to