java.lang.Exception: java.lang.ClassCastException: org.apache.hadoop.io.SequenceFile$Writer$KeyClassOption cannot be cast to org.apache.hadoop.io.MapFile$Writer$Option

Apache's JIRA Issue Tracker | Lewis John McGibbney | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Convo here - http://www.mail-archive.com/dev%40nutch.apache.org/msg18225.html I am +1 for taking trunk (or a branch of trunk) to explicit dependency on > Hadoop 2.6. We can run our tests, we can validate, we can fix. I will be doing validation on 2.X in paralegal as this is what I use on my own projects.

    Apache's JIRA Issue Tracker | 2 years ago | Lewis John McGibbney
    java.lang.Exception: java.lang.ClassCastException: org.apache.hadoop.io.SequenceFile$Writer$KeyClassOption cannot be cast to org.apache.hadoop.io.MapFile$Writer$Option
  2. 0

    apache nutch crawling issue

    Stack Overflow | 5 days ago | sukesh
    java.lang.Exception: java.io.IOException: Mkdirs failed to create file:/generate-temp-b42b2b91-e1e5-4e82-8861-881a7a607bd9/_temporary/0/_temporary/attempt_local2075293294_0001_r_000000_0/fetchlist-1 (exists=false, cwd=file:/)
  3. 0

    Apache Hadoop Single Node Standalone Installation Tutorial

    thegeekstuff.com | 8 months ago
    java.io.IOException: The temporary job-output directory file:/usr/local/hadoop/grep-temp-573322172/_temporary doesn’t exist!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Apache Hadoop Single Node Standalone Installation Tutorial

    thegeekstuff.com | 2 months ago
    java.io.IOException: The temporary job-output directory file:/usr/local/hadoop/grep-temp-573322172/_temporary doesn’t exist!
  6. 0

    Java – Spectrally Clustered

    wordpress.com | 11 months ago
    java.io.IOException: wrong value class: org.apache.mahout.math.hadoop.DistributedRowMatrix$MatrixEntryWritable is not class org.apache.mahout.math.VectorWritable

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.hadoop.io.SequenceFile$Writer$KeyClassOption cannot be cast to org.apache.hadoop.io.MapFile$Writer$Option

      at org.apache.nutch.fetcher.FetcherOutputFormat.getRecordWriter()
    2. Apache Nutch
      FetcherOutputFormat.getRecordWriter
      1. org.apache.nutch.fetcher.FetcherOutputFormat.getRecordWriter(FetcherOutputFormat.java:70)
      1 frame
    3. Hadoop
      LocalJobRunner$Job$ReduceTaskRunnable.run
      1. org.apache.hadoop.mapred.ReduceTask$OldTrackingRecordWriter.<init>(ReduceTask.java:484)
      2. org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:414)
      3. org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:392)
      4. org.apache.hadoop.mapred.LocalJobRunner$Job$ReduceTaskRunnable.run(LocalJobRunner.java:319)
      4 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames