Few more details:
i am using latest trunk of nutch, with hadoop-0.10.1.
Regards
On 2/28/07, Shailendra Mudgal <[EMAIL PROTECTED]> wrote:
Hi,
I was testing my urlfilter plugin, which, in a test, was returning null
for each URL. So if i use this filter, the inject step will inject no url in
crawldb, since the filter will return null for each url.
So we have now no url in our crawldb. But when i look for crawldb stats
using readdb, it is throwing NullPointerException :
Exception in thread "main" java.lang.NullPointerException
at org.apache.nutch.crawl.CrawlDbReader.processStatJob(
CrawlDbReader.java:294)
at org.apache.nutch.crawl.CrawlDbReader.main (CrawlDbReader.java
:438)
Command Used is:
./bin/nutch readdb testcrawl/crawldb -stats
And interestingly, when i go generate on this crawldb it works fine
showing message :
0 records selected for fetching, exiting ...
which seems fine in this case.
Is this a bug or i am doing something wrong??
Regards,
Shailendra
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general