Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-874

Sqoop2: Provide log4j configuration for client

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.99.1
    • Fix Version/s: 1.99.2
    • Component/s: None
    • Labels:
      None

      Description

      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:

      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>
      

        Attachments

        1. bugSQOOP-874.patch
          1 kB
          Jarek Jarcec Cecho

          Issue Links

            Activity

              People

              • Assignee:
                jarcec Jarek Jarcec Cecho
                Reporter:
                jarcec Jarek Jarcec Cecho
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: