You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "lewismc (via GitHub)" <gi...@apache.org> on 2023/10/22 18:03:55 UTC

[PR] NUTCH-3014 Standardize Job names [nutch]

lewismc opened a new pull request, #789:
URL: https://github.com/apache/nutch/pull/789

   Addresses https://issues.apache.org/jira/browse/NUTCH-3014
   
   First pass at giving the Nutch Job names a bit of a face-lift.
   
   Additional notes: 
   
   - I literally removed `NutchJob.getInstance()`... I didn't see much point in it. Maybe I am wrong.
   - TestFetcher is failing locally... looking into that now. Will let CI run and see if we can reproduce this test failure.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@nutch.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] NUTCH-3014 Standardize Job names [nutch]

Posted by "sebastian-nagel (via GitHub)" <gi...@apache.org>.
sebastian-nagel commented on code in PR #789:
URL: https://github.com/apache/nutch/pull/789#discussion_r1375421979


##########
src/java/org/apache/nutch/crawl/CrawlDbReader.java:
##########
@@ -812,7 +811,7 @@ public CrawlDatum get(String crawlDb, String url, Configuration config)
 
   @Override
   protected int process(String line, StringBuilder output) throws Exception {
-    Job job = NutchJob.getInstance(getConf());
+    Job job = Job.getInstance(getConf(), "Nutch CrawlDbReader: process " + this.crawlDb);

Review Comment:
   `this` isn't really required here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@nutch.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] NUTCH-3014 Standardize Job names [nutch]

Posted by "lewismc (via GitHub)" <gi...@apache.org>.
lewismc merged PR #789:
URL: https://github.com/apache/nutch/pull/789


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@nutch.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] NUTCH-3014 Standardize Job names [nutch]

Posted by "lewismc (via GitHub)" <gi...@apache.org>.
lewismc commented on code in PR #789:
URL: https://github.com/apache/nutch/pull/789#discussion_r1381111646


##########
src/java/org/apache/nutch/crawl/CrawlDbReader.java:
##########
@@ -812,7 +811,7 @@ public CrawlDatum get(String crawlDb, String url, Configuration config)
 
   @Override
   protected int process(String line, StringBuilder output) throws Exception {
-    Job job = NutchJob.getInstance(getConf());
+    Job job = Job.getInstance(getConf(), "Nutch CrawlDbReader: process " + this.crawlDb);

Review Comment:
   Thanks @sebastian-nagel 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@nutch.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org