Re: load data Failed with exception java.lang.IndexOutOfBoundsException

2016-09-09 Thread Prasanth Jayachandran
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 wrote: > > >> It will be ok if the file has more than two characters,that is a

Re: load data Failed with exception java.lang.IndexOutOfBoundsException

2016-09-09 Thread Gopal Vijayaraghavan
> 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.

Re: Re: load data Failed with exception java.lang.IndexOutOfBoundsException

2016-09-09 Thread C R
Format is OrcInputFormat,maybe that is just right. Thanks. From: Stephen Sprague<mailto:sprag...@gmail.com> Date: 2016-09-09 12:47 To: user@hive.apache.org<mailto:user@hive.apache.org> Subject: Re: Re: load data Failed with exception java.lang.IndexOu

Re: Re: load data Failed with exception java.lang.IndexOutOfBoundsException

2016-09-08 Thread Stephen Sprague
>at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat. validateInput(OrcInputFormat.java:508) would it be safe to assume that you are trying to load a text file into an table stored as ORC? your create table doesn't specify that explicitly so that means you have a setting in your configs that says

Re: Re: load data Failed with exception java.lang.IndexOutOfBoundsException

2016-09-08 Thread C R
-4312-b473-535881c1d726); Time taken: 0.154 seconds thanks! From: Jason Dere<mailto:jd...@hortonworks.com> Date: 2016-09-09 01:08 To: user@hive.apache.org<mailto:user@hive.apache.org> Subject: Re: load data Failed with exception java.lang.IndexOutOfBoundsException Is there a related

Re: load data Failed with exception java.lang.IndexOutOfBoundsException

2016-09-08 Thread Jason Dere
Is there a related stack trace in the hive.log? From: ? <cuirong198...@hotmail.com> Sent: Tuesday, September 06, 2016 8:38 PM To: user@hive.apache.org Subject: load data Failed with exception java.lang.IndexOutOfBoundsException hi, Can anybody rep

load data Failed with exception java.lang.IndexOutOfBoundsException

2016-09-06 Thread
hi, Can anybody reproduce following error : ( My env is hadoop2.7.2 and hive2.01) create external table ods.loadtest ( c1 string ) location '/tmp/loadtest'; LOAD DATA LOCAL INPATH '1.dat' overwrite INTO TABLE ODS.loadtest; Loading data to table ods.loadtest Failed with exception