java.lang.RuntimeException: Unexpected data while reading tuple from binary file

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 pig-user by Andrew Hitchcock, 1 year ago
Unexpected data while reading tuple from binary file
via hadoop-pig-user by Andrew Hitchcock, 1 year ago
Unexpected data while reading tuple from binary file
via pig-user by Andrew Hitchcock, 1 year ago
Unexpected data while reading tuple from binary file
via hadoop-pig-user by Andrew Hitchcock, 1 year ago
Unexpected data while reading tuple from binary file
java.lang.RuntimeException: Unexpected data while reading tuple from binary file
at org.apache.pig.impl.io.DataBagFileReader$myIterator.next(DataBagFileReader.java:81)
at org.apache.pig.impl.io.DataBagFileReader$myIterator.next(DataBagFileReader.java:41)
at org.apache.pig.impl.eval.collector.DataCollector.addToSuccessor(DataCollector.java:89)
at org.apache.pig.impl.eval.SimpleEvalSpec$1.add(SimpleEvalSpec.java:35)
at org.apache.pig.impl.eval.GenerateSpec$CrossProductItem.exec(GenerateSpec.java:273)
at org.apache.pig.impl.eval.GenerateSpec$1.add(GenerateSpec.java:86)
at org.apache.pig.impl.eval.EvalSpec.simpleEval(EvalSpec.java:216)
at org.apache.pig.impl.eval.FuncEvalSpec$1.add(FuncEvalSpec.java:105)
at org.apache.pig.impl.eval.GenerateSpec$CrossProductItem.(GenerateSpec.java:165)
at org.apache.pig.impl.eval.GenerateSpec$1.add(GenerateSpec.java:77)
at org.apache.pig.impl.mapreduceExec.PigCombine.reduce(PigCombine.java:101)
at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.combineAndSpill(MapTask.java:439)
at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpillToDisk(MapTask.java:418)
at org.apache.pig.impl.mapreduceExec.PigMapReduce$MapDataOutputCollector.add(PigMapReduce.java:309)
at org.apache.pig.impl.eval.collector.UnflattenCollector.add(UnflattenCollector.java:56)
at org.apache.pig.impl.eval.GenerateSpec$CrossProductItem.add(GenerateSpec.java:242)
at org.apache.pig.impl.eval.collector.UnflattenCollector.add(UnflattenCollector.java:56)
at org.apache.pig.impl.eval.collector.DataCollector.addToSuccessor(DataCollector.java:93)
at org.apache.pig.impl.eval.SimpleEvalSpec$1.add(SimpleEvalSpec.java:35)
at org.apache.pig.impl.eval.GenerateSpec$CrossProductItem.exec(GenerateSpec.java:273)
at org.apache.pig.impl.eval.GenerateSpec$1.add(GenerateSpec.java:86)
at org.apache.pig.impl.eval.collector.UnflattenCollector.add(UnflattenCollector.java:56)
at org.apache.pig.impl.mapreduceExec.PigMapReduce.run(PigMapReduce.java:113)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:192)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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