Sebastian Nagel created NUTCH-2535:
--------------------------------------
Summary: CrawlDbReader -stats: ClassCastException
Key: NUTCH-2535
URL: https://issues.apache.org/jira/browse/NUTCH-2535
Project: Nutch
Issue Type: Bug
Components: crawldb
Affects Versions: 1.15
Reporter: Sebastian Nagel
Fix For: 1.15
{noformat}
java.lang.Exception: java.lang.ClassCastException:
org.apache.nutch.crawl.NutchWritable cannot be cast to
org.apache.hadoop.io.LongWritable
at
org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:522)
Caused by: java.lang.ClassCastException: org.apache.nutch.crawl.NutchWritable
cannot be cast to org.apache.hadoop.io.LongWritable
at
org.apache.nutch.crawl.CrawlDbReader$CrawlDbStatReducer.reduce(CrawlDbReader.java:254)
at
org.apache.nutch.crawl.CrawlDbReader$CrawlDbStatReducer.reduce(CrawlDbReader.java:237)
at org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:171)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)