You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Imran Akbar <im...@infoscoutinc.com> on 2014/08/27 22:49:03 UTC

ArrayIndexOutOfBoundsException

Hi,

I'm running a Hive query on my EMR cluster, and running into this issue
which is causing the task to fail:
java.lang.RuntimeException:
org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while
processing row [Error getting row data with exception
java.lang.ArrayIndexOutOfBoundsException: 277
The full stacktrace is: http://pastebin.com/R1gemHHE

When I take the same query (which is doing 18 LEFT OUTER JOINs), and split
it up into two smaller queries - it works just fine.  I've looked at the
logs on the task nodes too, but they don't go into any further detail other
than saying:

"org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryStruct (main): Missing
fields! Expected 50 fields but only got 40! Ignoring similar problems"
right before the ArrayIndexOutOfBoundsException

Does anybody know what's going on?  I'm running version 0.11

thanks,
imran