[06/13] hadoop git commit: MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák.
MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/53be0752 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/53be0752 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/53be0752 Branch: refs/heads/HDFS-7240 Commit: 53be075241f1ba92bfe47e89c2dfc3f0664e2578 Parents: 3baae43 Author: Akira Ajisaka Authored: Fri Sep 22 13:27:59 2017 +0900 Committer: Akira Ajisaka Committed: Fri Sep 22 13:27:59 2017 +0900 -- hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml| 4 .../java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java | 7 --- .../main/java/org/apache/hadoop/examples/DBCountPageView.java | 7 --- .../java/org/apache/hadoop/examples/dancing/DancingLinks.java | 7 +++ .../src/main/java/org/apache/hadoop/examples/pi/DistSum.java | 6 +++--- .../java/org/apache/hadoop/examples/terasort/TeraGen.java | 6 +++--- .../org/apache/hadoop/examples/terasort/TeraOutputFormat.java | 7 --- .../org/apache/hadoop/examples/terasort/TeraScheduler.java| 7 --- .../java/org/apache/hadoop/examples/terasort/TeraSort.java| 6 +++--- .../org/apache/hadoop/examples/terasort/TestTeraSort.java | 6 +++--- 10 files changed, 35 insertions(+), 28 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml index 4a50ed3..5e5dd8f 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml @@ -112,6 +112,10 @@ guava provided + + org.slf4j + slf4j-api + http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java index b9987a5..2bda89d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java @@ -29,8 +29,6 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; @@ -52,6 +50,8 @@ import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; import org.apache.hadoop.util.Time; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.google.common.base.Charsets; @@ -84,7 +84,8 @@ public class BaileyBorweinPlouffe extends Configured implements Tool { private static final String DIGIT_SIZE_PROPERTY = NAME + ".digit.size"; private static final String DIGIT_PARTS_PROPERTY = NAME + ".digit.parts"; - private static final Log LOG = LogFactory.getLog(BaileyBorweinPlouffe.class); + private static final Logger LOG = + LoggerFactory.getLogger(BaileyBorweinPlouffe.class); /** Mapper class computing digits of Pi. */ public static class BbpMapper extends http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java index 8dec39d..7b73820 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java @@ -29,8 +29,6 @@ import java.sql.SQLException; import java.sql.Statement; import java.util.Random; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.
[13/30] hadoop git commit: MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák.
MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/53be0752 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/53be0752 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/53be0752 Branch: refs/heads/YARN-5734 Commit: 53be075241f1ba92bfe47e89c2dfc3f0664e2578 Parents: 3baae43 Author: Akira Ajisaka Authored: Fri Sep 22 13:27:59 2017 +0900 Committer: Akira Ajisaka Committed: Fri Sep 22 13:27:59 2017 +0900 -- hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml| 4 .../java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java | 7 --- .../main/java/org/apache/hadoop/examples/DBCountPageView.java | 7 --- .../java/org/apache/hadoop/examples/dancing/DancingLinks.java | 7 +++ .../src/main/java/org/apache/hadoop/examples/pi/DistSum.java | 6 +++--- .../java/org/apache/hadoop/examples/terasort/TeraGen.java | 6 +++--- .../org/apache/hadoop/examples/terasort/TeraOutputFormat.java | 7 --- .../org/apache/hadoop/examples/terasort/TeraScheduler.java| 7 --- .../java/org/apache/hadoop/examples/terasort/TeraSort.java| 6 +++--- .../org/apache/hadoop/examples/terasort/TestTeraSort.java | 6 +++--- 10 files changed, 35 insertions(+), 28 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml index 4a50ed3..5e5dd8f 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml @@ -112,6 +112,10 @@ guava provided + + org.slf4j + slf4j-api + http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java index b9987a5..2bda89d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java @@ -29,8 +29,6 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; @@ -52,6 +50,8 @@ import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; import org.apache.hadoop.util.Time; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.google.common.base.Charsets; @@ -84,7 +84,8 @@ public class BaileyBorweinPlouffe extends Configured implements Tool { private static final String DIGIT_SIZE_PROPERTY = NAME + ".digit.size"; private static final String DIGIT_PARTS_PROPERTY = NAME + ".digit.parts"; - private static final Log LOG = LogFactory.getLog(BaileyBorweinPlouffe.class); + private static final Logger LOG = + LoggerFactory.getLogger(BaileyBorweinPlouffe.class); /** Mapper class computing digits of Pi. */ public static class BbpMapper extends http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java index 8dec39d..7b73820 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java @@ -29,8 +29,6 @@ import java.sql.SQLException; import java.sql.Statement; import java.util.Random; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.
hadoop git commit: MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák.
Repository: hadoop Updated Branches: refs/heads/branch-3.0 98612bb2d -> 0af3aec50 MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák. (cherry picked from commit 53be075241f1ba92bfe47e89c2dfc3f0664e2578) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/0af3aec5 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/0af3aec5 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/0af3aec5 Branch: refs/heads/branch-3.0 Commit: 0af3aec50256c2a5f4d543f046772f368bf1a917 Parents: 98612bb Author: Akira Ajisaka Authored: Fri Sep 22 13:27:59 2017 +0900 Committer: Akira Ajisaka Committed: Fri Sep 22 13:30:22 2017 +0900 -- hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml| 4 .../java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java | 7 --- .../main/java/org/apache/hadoop/examples/DBCountPageView.java | 7 --- .../java/org/apache/hadoop/examples/dancing/DancingLinks.java | 7 +++ .../src/main/java/org/apache/hadoop/examples/pi/DistSum.java | 6 +++--- .../java/org/apache/hadoop/examples/terasort/TeraGen.java | 6 +++--- .../org/apache/hadoop/examples/terasort/TeraOutputFormat.java | 7 --- .../org/apache/hadoop/examples/terasort/TeraScheduler.java| 7 --- .../java/org/apache/hadoop/examples/terasort/TeraSort.java| 6 +++--- .../org/apache/hadoop/examples/terasort/TestTeraSort.java | 6 +++--- 10 files changed, 35 insertions(+), 28 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/0af3aec5/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml index 13dc340..4aadcd6 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml @@ -112,6 +112,10 @@ guava provided + + org.slf4j + slf4j-api + http://git-wip-us.apache.org/repos/asf/hadoop/blob/0af3aec5/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java index b9987a5..2bda89d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java @@ -29,8 +29,6 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; @@ -52,6 +50,8 @@ import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; import org.apache.hadoop.util.Time; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.google.common.base.Charsets; @@ -84,7 +84,8 @@ public class BaileyBorweinPlouffe extends Configured implements Tool { private static final String DIGIT_SIZE_PROPERTY = NAME + ".digit.size"; private static final String DIGIT_PARTS_PROPERTY = NAME + ".digit.parts"; - private static final Log LOG = LogFactory.getLog(BaileyBorweinPlouffe.class); + private static final Logger LOG = + LoggerFactory.getLogger(BaileyBorweinPlouffe.class); /** Mapper class computing digits of Pi. */ public static class BbpMapper extends http://git-wip-us.apache.org/repos/asf/hadoop/blob/0af3aec5/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java index 8dec39d..7b73820 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java @@ -29,8 +29,6 @@ impo
hadoop git commit: MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák.
Repository: hadoop Updated Branches: refs/heads/branch-2 7cd9018b1 -> 9d4de9c55 MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák. (cherry picked from commit 53be075241f1ba92bfe47e89c2dfc3f0664e2578) Conflicts: hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/terasort/TeraOutputFormat.java Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/9d4de9c5 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9d4de9c5 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9d4de9c5 Branch: refs/heads/branch-2 Commit: 9d4de9c556215e64c0810641fcab1bbf657500f9 Parents: 7cd9018 Author: Akira Ajisaka Authored: Fri Sep 22 13:27:59 2017 +0900 Committer: Akira Ajisaka Committed: Fri Sep 22 13:29:17 2017 +0900 -- hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml| 4 .../java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java | 7 --- .../main/java/org/apache/hadoop/examples/DBCountPageView.java | 7 --- .../java/org/apache/hadoop/examples/dancing/DancingLinks.java | 7 +++ .../src/main/java/org/apache/hadoop/examples/pi/DistSum.java | 6 +++--- .../java/org/apache/hadoop/examples/terasort/TeraGen.java | 6 +++--- .../org/apache/hadoop/examples/terasort/TeraScheduler.java| 7 --- .../java/org/apache/hadoop/examples/terasort/TeraSort.java| 6 +++--- .../org/apache/hadoop/examples/terasort/TestTeraSort.java | 6 +++--- 9 files changed, 31 insertions(+), 25 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/9d4de9c5/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml index f8d3d8d..215f2f3 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml @@ -114,6 +114,10 @@ guava provided + + org.slf4j + slf4j-api + http://git-wip-us.apache.org/repos/asf/hadoop/blob/9d4de9c5/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java index b9987a5..2bda89d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java @@ -29,8 +29,6 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; @@ -52,6 +50,8 @@ import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; import org.apache.hadoop.util.Time; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.google.common.base.Charsets; @@ -84,7 +84,8 @@ public class BaileyBorweinPlouffe extends Configured implements Tool { private static final String DIGIT_SIZE_PROPERTY = NAME + ".digit.size"; private static final String DIGIT_PARTS_PROPERTY = NAME + ".digit.parts"; - private static final Log LOG = LogFactory.getLog(BaileyBorweinPlouffe.class); + private static final Logger LOG = + LoggerFactory.getLogger(BaileyBorweinPlouffe.class); /** Mapper class computing digits of Pi. */ public static class BbpMapper extends http://git-wip-us.apache.org/repos/asf/hadoop/blob/9d4de9c5/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java index 1ec8739..54a5ba4 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/ap
hadoop git commit: MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák.
Repository: hadoop Updated Branches: refs/heads/trunk 3baae4322 -> 53be07524 MAPREDUCE-6947. Moving logging APIs over to slf4j in hadoop-mapreduce-examples. Contributed by Gergely Novák. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/53be0752 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/53be0752 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/53be0752 Branch: refs/heads/trunk Commit: 53be075241f1ba92bfe47e89c2dfc3f0664e2578 Parents: 3baae43 Author: Akira Ajisaka Authored: Fri Sep 22 13:27:59 2017 +0900 Committer: Akira Ajisaka Committed: Fri Sep 22 13:27:59 2017 +0900 -- hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml| 4 .../java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java | 7 --- .../main/java/org/apache/hadoop/examples/DBCountPageView.java | 7 --- .../java/org/apache/hadoop/examples/dancing/DancingLinks.java | 7 +++ .../src/main/java/org/apache/hadoop/examples/pi/DistSum.java | 6 +++--- .../java/org/apache/hadoop/examples/terasort/TeraGen.java | 6 +++--- .../org/apache/hadoop/examples/terasort/TeraOutputFormat.java | 7 --- .../org/apache/hadoop/examples/terasort/TeraScheduler.java| 7 --- .../java/org/apache/hadoop/examples/terasort/TeraSort.java| 6 +++--- .../org/apache/hadoop/examples/terasort/TestTeraSort.java | 6 +++--- 10 files changed, 35 insertions(+), 28 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml index 4a50ed3..5e5dd8f 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/pom.xml @@ -112,6 +112,10 @@ guava provided + + org.slf4j + slf4j-api + http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java index b9987a5..2bda89d 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java @@ -29,8 +29,6 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem; @@ -52,6 +50,8 @@ import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; import org.apache.hadoop.util.Time; import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.google.common.base.Charsets; @@ -84,7 +84,8 @@ public class BaileyBorweinPlouffe extends Configured implements Tool { private static final String DIGIT_SIZE_PROPERTY = NAME + ".digit.size"; private static final String DIGIT_PARTS_PROPERTY = NAME + ".digit.parts"; - private static final Log LOG = LogFactory.getLog(BaileyBorweinPlouffe.class); + private static final Logger LOG = + LoggerFactory.getLogger(BaileyBorweinPlouffe.class); /** Mapper class computing digits of Pi. */ public static class BbpMapper extends http://git-wip-us.apache.org/repos/asf/hadoop/blob/53be0752/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java -- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java index 8dec39d..7b73820 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/DBCountPageView.java @@ -29,8 +29,6 @@ import java.sql.SQLException; import java.sql.Statement; import java.util.Random;