You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (JIRA)" <ji...@apache.org> on 2018/03/15 12:55:00 UTC

[jira] [Created] (NUTCH-2535) CrawlDbReader -stats: ClassCastException

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)