You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/15 13:11:00 UTC
[jira] [Commented] (NUTCH-2535) CrawlDbReader -stats:
ClassCastException
[ https://issues.apache.org/jira/browse/NUTCH-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400374#comment-16400374 ]
ASF GitHub Bot commented on NUTCH-2535:
---------------------------------------
sebastian-nagel opened a new pull request #296: NUTCH-2535 fix ClassCastException CrawlDbReader -stats
URL: https://github.com/apache/nutch/pull/296
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
> 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
> 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)