[ https://issues.apache.org/jira/browse/HIVE-19397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chen Lantian reassigned HIVE-19397: ----------------------------------- > IndexOutOfBoundsException throws when invoke next() method in > HiveQueryResultSet > -------------------------------------------------------------------------------- > > Key: HIVE-19397 > URL: https://issues.apache.org/jira/browse/HIVE-19397 > Project: Hive > Issue Type: Bug > Components: HiveServer2, JDBC > Affects Versions: 2.1.1 > Environment: CentOS-7.2.1511, Haoop-2.7.3, Hive-2.1.1 > Reporter: Chen Lantian > Assignee: Chen Lantian > Priority: Major > > I try exporting data using HiveQueryResultSet.next() method, there is an > IndexOutOfBoundsException sometimes when data is very large, what i catch is > below > java.sql.SQLException: Error retrieving next row > at org.apache.hive.jdbc.HiveQueryResultSet.next(HiveQueryResultSet.java:396) > ... > Caused by: java.lang.IndexOutOfBoundsException: Index: 1000, Size: 1000 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.serde2.thrift.ColumnBuffer.get(ColumnBuffer.java:292) > at org.apache.hive.service.cli.ColumnBasedSet$1.next(ColumnBasedSet.java:186) > at org.apache.hive.service.cli.ColumnBasedSet$1.next(ColumnBasedSet.java:173) > at org.apache.hive.jdbc.HiveQueryResultSet.next(HiveQueryResultSet.java:382) > ... 32 more -- This message was sent by Atlassian JIRA (v7.6.3#76005)