You are hitting this issue https://issues.apache.org/jira/browse/HIVE-13185 
which is fixed in latest hive release (2.1.0)

Thanks
Prasanth

> On Sep 9, 2016, at 2:21 AM, Gopal Vijayaraghavan <gop...@apache.org> wrote:
> 
> 
>> 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