[jira] [Commented] (NUTCH-2644) CrawlDbReader -dump ignores filter options

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (NUTCH-2644) CrawlDbReader -dump ignores filter options

JIRA jira@apache.org

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

Hudson commented on NUTCH-2644:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch-trunk #3558 (See [https://builds.apache.org/job/Nutch-trunk/3558/])
NUTCH-2644 CrawlDbReader -dump ignores filter options - need to pass (snagel: [https://github.com/apache/nutch/commit/6f5c50e23cce8ecf538bf9f5081c9daa58c4c768])
* (edit) src/java/org/apache/nutch/crawl/CrawlDbReader.java


> CrawlDbReader -dump ignores filter options
> ------------------------------------------
>
>                 Key: NUTCH-2644
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2644
>             Project: Nutch
>          Issue Type: Bug
>          Components: crawldb
>    Affects Versions: 1.15
>            Reporter: Sebastian Nagel
>            Priority: Major
>             Fix For: 1.16
>
>
> The CrawlDbReader ignores the filter options -status and -expr when dumping a crawldb:
> {noformat}
> % bin/nutch readdb crawldb/ -dump cdb.dump -status 'db_fetched' -expr 'status == "db_fetched"'
> ...
> % grep '^Status:' cdb.dump/part-r-00000 | sort | uniq -c
>      10 Status: 1 (db_unfetched)
>      28 Status: 2 (db_fetched)
>       1 Status: 3 (db_gone)
>       1 Status: 4 (db_redir_temp)
>       3 Status: 7 (db_duplicate)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)