nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <>
Subject [jira] [Commented] (NUTCH-1113) Merging segments causes URLs to vanish from crawldb/index?
Date Thu, 16 Jan 2014 12:43:21 GMT


Markus Jelsma commented on NUTCH-1113:

I'm now indexing segment for segment to a spare cluster, it's almost 1200 small segments so
it'll take over 50 hours to complete. That index is supposed to be identical to when i merge
all those segments to a single one and index it to another spare cluster. I'll report back
next week, monday i hope.

> Merging segments causes URLs to vanish from crawldb/index?
> ----------------------------------------------------------
>                 Key: NUTCH-1113
>                 URL:
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Edward Drapkin
>            Priority: Blocker
>             Fix For: 1.9
>         Attachments: NUTCH-1113-junit.patch, NUTCH-1113-junit.patch, NUTCH-1113-junit.patch,
NUTCH-1113-junit.patch, NUTCH-1113-junit.patch, NUTCH-1113-trunk.patch, merged_segment_output.txt,
> When I run Nutch, I use the following steps:
> nutch inject crawldb/ url.txt
> repeated 3 times:
> nutch generate crawldb/ segments/ -normalize
> nutch fetch `ls -d segments/* | tail -1`
> nutch parse `ls -d segments/* | tail -1`
> nutch update crawldb `ls -d segments/* | tail -1`
> nutch mergesegs merged/ -dir segments/
> nutch invertlinks linkdb/ -dir merged/
> nutch index index/ crawldb/ linkdb/ -dir merged/ (I forward ported the lucene indexing
code from Nutch 1.1).
> When I crawl with merging segments, I lose about 20% of the URLs that wind up in the
index vs. when I crawl without merging the segments.  Somehow the segment merger causes me
to lose ~20% of my crawl database!

This message was sent by Atlassian JIRA

View raw message