This is an automated email from the ASF dual-hosted git repository. markus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nutch.git
The following commit(s) were added to refs/heads/master by this push: new 3926910 NUTCH-2366 Deprecated Job constructor in hostdb/ReadHostDb.java\ 3926910 is described below commit 3926910e145df083ec9d42cd397c0cbd9b3a16da Author: Markus Jelsma <mar...@apache.org> AuthorDate: Wed Mar 15 13:04:25 2017 +0100 NUTCH-2366 Deprecated Job constructor in hostdb/ReadHostDb.java\ --- src/java/org/apache/nutch/hostdb/ReadHostDb.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/nutch/hostdb/ReadHostDb.java b/src/java/org/apache/nutch/hostdb/ReadHostDb.java index ab3ec0c..5b08504 100644 --- a/src/java/org/apache/nutch/hostdb/ReadHostDb.java +++ b/src/java/org/apache/nutch/hostdb/ReadHostDb.java @@ -173,7 +173,8 @@ public class ReadHostDb extends Configured implements Tool { conf.setBoolean("mapreduce.fileoutputcommitter.marksuccessfuljobs", false); conf.set("mapred.textoutputformat.separator", "\t"); - Job job = new Job(conf, "ReadHostDb"); + Job job = Job.getInstance(conf); + job.setJobName("ReadHostDb"); job.setJarByClass(ReadHostDb.class); FileInputFormat.addInputPath(job, new Path(hostDb, "current")); @@ -239,4 +240,4 @@ public class ReadHostDb extends Configured implements Tool { return -1; } } -} \ No newline at end of file +} -- To stop receiving notification emails like this one, please contact ['"commits@nutch.apache.org" <commits@nutch.apache.org>'].