Sqoop
  1. Sqoop
  2. SQOOP-744

Sqoop2: Supply log4j configuration for generated mapreduce job

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 1.99.3
    • Component/s: None
    • Labels:

      Description

      We should provide our own log4j configuration to generated mapreduce job in order to guarantee proper logging as we need.

      1. sqoop-744.2.txt
        5 kB
        Raghav Kumar Gautam
      2. sqoop-744.3.txt
        5 kB
        Raghav Kumar Gautam

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop200 #499 (See https://builds.apache.org/job/Sqoop2-hadoop200/499/)
          SQOOP-744: Sqoop2: Supply log4j configuration for generated mapreduce job (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=48530e3f8b9cb2770461d9b4e8e291ae15d47156)

          • execution/mapreduce/src/main/resources/META-INF/log4j.properties
          • execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java
          • execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopReducer.java
          • execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/ConfigurationUtils.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop200 #499 (See https://builds.apache.org/job/Sqoop2-hadoop200/499/ ) SQOOP-744 : Sqoop2: Supply log4j configuration for generated mapreduce job (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=48530e3f8b9cb2770461d9b4e8e291ae15d47156 ) execution/mapreduce/src/main/resources/META-INF/log4j.properties execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopReducer.java execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/ConfigurationUtils.java
          Hide
          Hudson added a comment -

          SUCCESS: Integrated in Sqoop2-hadoop100 #560 (See https://builds.apache.org/job/Sqoop2-hadoop100/560/)
          SQOOP-744: Sqoop2: Supply log4j configuration for generated mapreduce job (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=48530e3f8b9cb2770461d9b4e8e291ae15d47156)

          • execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopReducer.java
          • execution/mapreduce/src/main/resources/META-INF/log4j.properties
          • execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/ConfigurationUtils.java
          • execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java
          Show
          Hudson added a comment - SUCCESS: Integrated in Sqoop2-hadoop100 #560 (See https://builds.apache.org/job/Sqoop2-hadoop100/560/ ) SQOOP-744 : Sqoop2: Supply log4j configuration for generated mapreduce job (jarcec: https://git-wip-us.apache.org/repos/asf?p=sqoop.git&a=commit&h=48530e3f8b9cb2770461d9b4e8e291ae15d47156 ) execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopReducer.java execution/mapreduce/src/main/resources/META-INF/log4j.properties execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/ConfigurationUtils.java execution/mapreduce/src/main/java/org/apache/sqoop/job/mr/SqoopMapper.java
          Jarek Jarcec Cecho made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 1.99.3 [ 12324298 ]
          Fix Version/s 2.0.0 [ 12319272 ]
          Resolution Fixed [ 1 ]
          Hide
          Jarek Jarcec Cecho added a comment -

          The patch is in, thank you Raghav Kumar Gautam!

          Show
          Jarek Jarcec Cecho added a comment - The patch is in, thank you Raghav Kumar Gautam !
          Hide
          ASF subversion and git services added a comment -

          Commit 48530e3f8b9cb2770461d9b4e8e291ae15d47156 in branch refs/heads/sqoop2 from Jarek Jarcec Cecho
          [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=48530e3 ]

          SQOOP-744: Sqoop2: Supply log4j configuration for generated mapreduce job

          (Raghav Kumar Gautam via Jarek Jarcec Cecho)

          Show
          ASF subversion and git services added a comment - Commit 48530e3f8b9cb2770461d9b4e8e291ae15d47156 in branch refs/heads/sqoop2 from Jarek Jarcec Cecho [ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=48530e3 ] SQOOP-744 : Sqoop2: Supply log4j configuration for generated mapreduce job (Raghav Kumar Gautam via Jarek Jarcec Cecho)
          Raghav Kumar Gautam made changes -
          Attachment sqoop-744.3.txt [ 12599732 ]
          Hide
          Raghav Kumar Gautam added a comment -

          Uploading the latest patch.

          Show
          Raghav Kumar Gautam added a comment - Uploading the latest patch.
          Hide
          Sqoop QA bot added a comment -

          Here are the results of testing the latest attachment
          https://issues.apache.org/jira/secure/attachment/12595030/sqoop-744.2.txt against branch sqoop2.

          Overall: +1 all checks pass

          SUCCESS: Clean was successful
          SUCCESS: Patch applied correctly
          SUCCESS: Patch compiled
          SUCCESS: All tests passed

          Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/106/console

          This message is automatically generated.

          Show
          Sqoop QA bot added a comment - Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12595030/sqoop-744.2.txt against branch sqoop2. Overall: +1 all checks pass SUCCESS: Clean was successful SUCCESS: Patch applied correctly SUCCESS: Patch compiled SUCCESS: All tests passed Console output: https://builds.apache.org/job/PreCommit-SQOOP-Build/106/console This message is automatically generated.
          Raghav Kumar Gautam made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Raghav Kumar Gautam made changes -
          Attachment sqoop-744.2.txt [ 12595030 ]
          Raghav Kumar Gautam made changes -
          Remote Link This issue links to "Review board link (Web Link)" [ 12449 ]
          Raghav Kumar Gautam made changes -
          Assignee Raghav Kumar Gautam [ raghavgautam ]
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Labels newbie
          Jarek Jarcec Cecho created issue -

            People

            • Assignee:
              Raghav Kumar Gautam
              Reporter:
              Jarek Jarcec Cecho
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development