Sqoop
  1. Sqoop
  2. SQOOP-874

Sqoop2: Provide log4j configuration for client

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial 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>
      
      1. bugSQOOP-874.patch
        1 kB
        Jarek Jarcec Cecho

        Issue Links

          Activity

          Hide
          Cheolsoo Park added a comment -

          +1. Committed to sqoop2.

          Show
          Cheolsoo Park added a comment - +1. Committed to sqoop2.
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop100 #174 (See https://builds.apache.org/job/Sqoop2-hadoop100/174/)
          SQOOP-874: Provide log4j configuration for client (Revision c7365b4751c00c680e08277349df412ca33fa1c5)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=c7365b4751c00c680e08277349df412ca33fa1c5
          Files :

          • client/src/main/resources/log4j.properties
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop100 #174 (See https://builds.apache.org/job/Sqoop2-hadoop100/174/ ) SQOOP-874 : Provide log4j configuration for client (Revision c7365b4751c00c680e08277349df412ca33fa1c5) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=c7365b4751c00c680e08277349df412ca33fa1c5 Files : client/src/main/resources/log4j.properties
          Hide
          Hudson added a comment -

          Integrated in Sqoop2-hadoop200 #187 (See https://builds.apache.org/job/Sqoop2-hadoop200/187/)
          SQOOP-874: Provide log4j configuration for client (Revision c7365b4751c00c680e08277349df412ca33fa1c5)

          Result = SUCCESS
          cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=c7365b4751c00c680e08277349df412ca33fa1c5
          Files :

          • client/src/main/resources/log4j.properties
          Show
          Hudson added a comment - Integrated in Sqoop2-hadoop200 #187 (See https://builds.apache.org/job/Sqoop2-hadoop200/187/ ) SQOOP-874 : Provide log4j configuration for client (Revision c7365b4751c00c680e08277349df412ca33fa1c5) Result = SUCCESS cheolsoo : https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=c7365b4751c00c680e08277349df412ca33fa1c5 Files : client/src/main/resources/log4j.properties

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development