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

Sqoop2: Provide log4j configuration for client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.99.1
    • 1.99.2
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: