[
https://issues.apache.org/jira/browse/NUTCH-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400448#comment-16400448
]
ASF GitHub Bot commented on NUTCH-2535:
---------------------------------------
lewismc commented on issue #296: NUTCH-2535 fix ClassCastException
CrawlDbReader -stats
URL: https://github.com/apache/nutch/pull/296#issuecomment-373389082
+1 tested local an pseudo distrib
On Thu, Mar 15, 2018 at 06:10 Sebastian Nagel <[email protected]>
wrote:
> ------------------------------
> You can view, comment on, or merge this pull request online at:
>
> https://github.com/apache/nutch/pull/296
> Commit Summary
>
> - NUTCH-2535 fix ClassCastException CrawlDbReader -stats
>
> File Changes
>
> - *M* src/java/org/apache/nutch/crawl/CrawlDbReader.java
> <https://github.com/apache/nutch/pull/296/files#diff-0> (19)
>
> Patch Links:
>
> - https://github.com/apache/nutch/pull/296.patch
> - https://github.com/apache/nutch/pull/296.diff
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/nutch/pull/296>, or mute the thread
>
<https://github.com/notifications/unsubscribe-auth/ABHJl-PeBwMAmXDXnS3fshpyKg42MegUks5temhPgaJpZM4SsH68>
> .
>
--
*Lewis*
Dr. Lewis J. McGibbney Ph.D, B.Sc
*Skype*: lewis.john.mcgibbney
----------------------------------------------------------------
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:
[email protected]
> 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)