java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record > cannot be cast to java.util.Map at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:296) at > org.apache.avro.mapreduce.AvroKeyValueRecordWriter.write(AvroKeyValueRecordWriter.java:127) at > org.apache.hadoop.mapreduce.lib.output.MultipleOutputs$RecordWriterWithCounter.write(MultipleOutputs.java:304) at > org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:370) at > com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:156) at > com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:24)

nabble.com | 8 months 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

    Avro - Users - org.apache.avro.file.DataFileWriter$AppendWriteException: java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to java.util.Map

    nabble.com | 8 months ago
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record > cannot be cast to java.util.Map at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:296) at > org.apache.avro.mapreduce.AvroKeyValueRecordWriter.write(AvroKeyValueRecordWriter.java:127) at > org.apache.hadoop.mapreduce.lib.output.MultipleOutputs$RecordWriterWithCounter.write(MultipleOutputs.java:304) at > org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:370) at > com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:156) at > com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:24)
  2. 0

    [Avro-user] org.apache.avro.file.DataFileWriter$AppendWriteException: java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to java.util.Map - Grokbase

    grokbase.com | 1 year ago
    java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record cannot be cast to java.util.Map at org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:296) at org.apache.avro.mapreduce.AvroKeyValueRecordWriter.write(AvroKeyValueRecordWriter.java:127) at org.apache.hadoop.mapreduce.lib.output.MultipleOutputs$RecordWriterWithCounter.write(MultipleOutputs.java:304) at org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:370) at com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:156) at com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:24)
  3. 0

    Map Reduce Unit test failing

    Stack Overflow | 2 years ago | nIx..
    java.lang.ClassCastException: org.apache.hadoop.mrunit.mapreduce.mock.MockReduceContextWrapper$4$1 cannot be cast to org.apache.hadoop.mapreduce.ReduceContext$ValueIterator
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Query Error

    incubator-mrql-user | 3 years ago | Leonidas Fegaras
    java.lang.ClassCastException: org.apache.mrql.MR_int cannot be cast to org.apache.mrql.Bag at org.apache.mrql.MRQL_Lambda_5.eval(UserFunctions_0.java from JavaSourceFromString:27) at org.apache.mrql.MapReduceAlgebra$1.hasNext(MapReduceAlgebra.java:59) at org.apache.mrql.JoinOperation$JoinReducer.reduce(JoinOperation.java:292) at org.apache.mrql.JoinOperation$JoinReducer.reduce(JoinOperation.java:184)

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.avro.generic.GenericData$Record > cannot be cast to java.util.Map at > org.apache.avro.file.DataFileWriter.append(DataFileWriter.java:296) at > org.apache.avro.mapreduce.AvroKeyValueRecordWriter.write(AvroKeyValueRecordWriter.java:127) at > org.apache.hadoop.mapreduce.lib.output.MultipleOutputs$RecordWriterWithCounter.write(MultipleOutputs.java:304) at > org.apache.hadoop.mapreduce.lib.output.MultipleOutputs.write(MultipleOutputs.java:370) at > com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:156) at > com.paypal.ci.CISuperSessionStage2AvroReducer.reduce(CISuperSessionStage2AvroReducer.java:24)

      at org.apache.hadoop.mapreduce.Reducer.run()
    2. Hadoop
      Reducer.run
      1. org.apache.hadoop.mapreduce.Reducer.run(Reducer.java:177)
      1 frame