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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via grokbase.com by Unknown author, 1 year ago
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
via nabble.com by Unknown author, 1 year ago
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
via incubator-mrql-user by Leonidas Fegaras, 1 year ago
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
via mrunit-user by Sirish Chandraa Dhananjaya, 6 months ago
org.apache.hadoop.mrunit.internal.mapreduce.MockReduceContextWrapper$5$1 cannot be cast to org.apache.hadoop.mapreduce.ReduceContext$ValueIterator
via mrunit-user by Sirish Chandraa Dhananjaya, 6 months ago
org.apache.hadoop.mrunit.internal.mapreduce.MockReduceContextWrapper$5$1 cannot be cast to org.apache.hadoop.mapreduce.ReduceContext$ValueIterator
via mrunit-user by Bertrand Dechoux, 6 months ago
org.apache.hadoop.mrunit.internal.mapreduce.MockReduceContextWrapper$5$1 cannot be cast to org.apache.hadoop.mapreduce.ReduceContext$ValueIterator
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.