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/16 08:59:00 UTC

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

     [ https://issues.apache.org/jira/browse/NUTCH-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Nagel resolved NUTCH-2535.
------------------------------------
    Resolution: Fixed
      Assignee: Sebastian Nagel

Thanks, [~lewismc]!

> 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
>            Assignee: Sebastian Nagel
>            Priority: Major
>             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)