[
https://issues.apache.org/jira/browse/NUTCH-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julien Nioche updated NUTCH-2177:
---------------------------------
Attachment: NUTCH-2177.patch
> 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
>
> Attachments: NUTCH-2177.patch
>
>
> 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)