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 Apache's JIRA Issue Tracker by Sushanth Sowmyan, 1 year ago
org.apache.hadoop.io.NullWritable cannot be cast to org.apache.hadoop.io.LongWritable
via Stack Overflow by Unknown author, 2 years ago
org.apache.hadoop.io.NullWritable cannot be cast to org.apache.hadoop.io.LongWritable
java.lang.ClassCastException: org.apache.hadoop.io.NullWritable cannot be cast to org.apache.hadoop.io.LongWritable	at org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat$1.write(AvroContainerOutputFormat.java:84)	at org.apache.hcatalog.mapreduce.FileRecordWriterContainer.write(FileRecordWriterContainer.java:253)	at org.apache.hcatalog.mapreduce.FileRecordWriterContainer.write(FileRecordWriterContainer.java:53)	at org.apache.hcatalog.pig.HCatBaseStorer.putNext(HCatBaseStorer.java:242)	at org.apache.hcatalog.pig.HCatStorer.putNext(HCatStorer.java:52)	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.write(PigOutputFormat.java:139)	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.write(PigOutputFormat.java:98)	at org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write(MapTask.java:559)	at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:85)