You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2013/02/09 03:37:12 UTC

[jira] [Updated] (SQOOP-874) Sqoop2: Provide log4j configuration for client

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

Jarek Jarcec Cecho updated SQOOP-874:
-------------------------------------

    Attachment: bugSQOOP-874.patch
    
> Sqoop2: Provide log4j configuration for client
> ----------------------------------------------
>
>                 Key: SQOOP-874
>                 URL: https://issues.apache.org/jira/browse/SQOOP-874
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.1
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>            Priority: Trivial
>             Fix For: 1.99.2
>
>         Attachments: bugSQOOP-874.patch
>
>
> We're using log4j in sqoop client (mainly from common package), but we do not offer configuration for it and thus user might get following output:
> {code}
> sqoop:000> create connection --cid 12
> Creating connection for connector with id 12
> log4j:WARN No appenders could be found for logger (org.apache.sqoop.utils.ClassUtils).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> Exception has occurred during processing command 
> Server has returned exception: Exception: java.lang.Throwable Message: SERVER_0004:Invalid argument in HTTP request - Invalid id 12
> sqoop:000>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira