Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2535

CrawlDbReader -stats: ClassCastException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15
    • 1.15
    • crawldb
    • None

    Description

      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)
      

      Attachments

        Issue Links

          Activity

            People

              snagel Sebastian Nagel
              snagel Sebastian Nagel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: