You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2015/12/01 12:43:10 UTC

[jira] [Comment Edited] (NUTCH-2177) Generator produces only one partition even in distributed mode

    [ https://issues.apache.org/jira/browse/NUTCH-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15033491#comment-15033491 ] 

Julien Nioche edited comment on NUTCH-2177 at 12/1/15 11:43 AM:
----------------------------------------------------------------

Do you mean 'mapreduce.framework.name' ?

Should work indeed - here are the values I am getting on EMR

15/12/01 11:02:00 INFO crawl.Generator: mapred.job.tracker local
15/12/01 11:02:00 INFO crawl.Generator: mapreduce.jobtracker.address local
15/12/01 11:02:00 INFO crawl.Generator: mapreduce.framework.name yarn

where in local mode I get 

2015-12-01 11:42:16,622 INFO  crawl.Generator - mapred.job.tracker local
2015-12-01 11:42:16,622 INFO  crawl.Generator - mapreduce.jobtracker.address local
2015-12-01 11:42:16,622 INFO  crawl.Generator - mapreduce.framework.name local

Will send a patch shortly


was (Author: jnioche):
Do you mean 'mapreduce.framework.name' ?

> Generator produces only one partition even in distributed mode
> --------------------------------------------------------------
>
>                 Key: NUTCH-2177
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2177
>             Project: Nutch
>          Issue Type: Bug
>          Components: generator
>            Reporter: Julien Nioche
>            Priority: Blocker
>             Fix For: 1.11
>
>
> See [https://github.com/apache/nutch/blob/trunk/src/java/org/apache/nutch/crawl/Generator.java#L542]
> 'mapred.job.tracker' is deprecated and has been replaced by 'mapreduce.jobtracker.address', however when running Nutch on EMR mapreduce.jobtracker.address has local as a value. As a result we generate a single partition i.e. have a single map fetching later on (which defeats the object of having a distributed crawler).
> We should probably detect whether we are running on YARN instead, see [http://stackoverflow.com/questions/29680155/why-there-is-a-mapreduce-jobtracker-address-configuration-on-yarn]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)