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/11/26 16:39:12 UTC

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

Julien Nioche created NUTCH-2177:
------------------------------------

             Summary: 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)