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 cannot be cast to
via Stack Overflow by Unknown author, 2 years ago cannot be cast to
java.lang.ClassCastException: cannot be cast to at$1.write( at org.apache.hcatalog.mapreduce.FileRecordWriterContainer.write( at org.apache.hcatalog.mapreduce.FileRecordWriterContainer.write( at org.apache.hcatalog.pig.HCatBaseStorer.putNext( at org.apache.hcatalog.pig.HCatStorer.putNext( at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.write( at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigOutputFormat$PigRecordWriter.write( at org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write( at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(