> It will be ok if the file has more than two characters,that is a little 
> interesting. I can not understand the result of function checkInputFormat is 
> OrcInputFormat,maybe that is just right.

My guess is that it is trying to read the 3 letter string "ORC" from that file 
and failing.

https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java#L471

Cheers,
Gopal




Reply via email to