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

Gwen Shapira commented on SQOOP-2043:
-------------------------------------

verbose = true indeed gives me the entire stack trace.

I would still like to see a happy medium where we show the error message of the 
underlying exception ("Message: Incorrect database name ''") by default.

> Sqoop2: Server errors don't look informative enough in the client
> -----------------------------------------------------------------
>
>                 Key: SQOOP-2043
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2043
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Gwen Shapira
>
> sqoop:000> start job -jid 5
> Exception has occurred during processing command
> Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_0001:Server 
> has returned exception
> I had to go to the server log to see what went wrong. Clearly this is not 
> very useful. I seem to remember that in the past we actually got more useful 
> errors on the CLI, so this is possibly a regression.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to