nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-1712) Use MultipleInputs in Injector to make it a single mapreduce job
Date Tue, 26 Jan 2016 20:45:39 GMT

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

ASF GitHub Bot commented on NUTCH-1712:
---------------------------------------

GitHub user sebastian-nagel opened a pull request:

    https://github.com/apache/nutch/pull/86

    NUTCH-1712 Injector to use MultipleInputs (new MR API)

    Tested inject in combination with other CrawlDb tools (readdb, updatedb, mergedb): everything
seems to work smoothly, although output files are part-00000 or part-r-00000 (for old resp.
new MapReduce API).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sebastian-nagel/nutch NUTCH-1712

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nutch/pull/86.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #86
    
----

----


> Use MultipleInputs in Injector to make it a single mapreduce job
> ----------------------------------------------------------------
>
>                 Key: NUTCH-1712
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1712
>             Project: Nutch
>          Issue Type: Improvement
>          Components: injector
>    Affects Versions: 1.7
>            Reporter: Tejas Patil
>            Assignee: Sebastian Nagel
>         Attachments: NUTCH-1712-trunk.v1.patch
>
>
> Currently Injector creates two mapreduce jobs:
> 1. sort job: get the urls from seeds file, emit CrawlDatum objects.
> 2. merge job: read CrawlDatum objects from both crawldb and output of sort job. Merge
and emit final CrawlDatum objects.
> Using MultipleInputs, we can read CrawlDatum objects from crawldb and urls from seeds
file simultaneously and perform inject in a single map-reduce job.
> Also, here are additional things covered with this jira:
> 1. Pushed filtering and normalization above metadata extraction so that the unwanted
records are ruled out quickly.
> 2. Migrated to new mapreduce API
> 3. Improved documentation 
> 4. New junits with better coverage
> Relevant discussion over nutch-dev can be found here:
> http://mail-archives.apache.org/mod_mbox/nutch-dev/201401.mbox/%3CCAFKhtFyXO6WL7gyUV+a5Y1pzNtdCoqPz4jz_up_bkp9cJe80kg@mail.gmail.com%3E



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

Mime
View raw message