hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasanth Jayachandran <pjayachand...@hortonworks.com>
Subject Re: load data Failed with exception java.lang.IndexOutOfBoundsException
Date Fri, 09 Sep 2016 07:28:05 GMT
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 <gopalv@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
> 
> 
> 
> 
> 


Mime
View raw message