hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: java.lang.IndexOutOfBoundsException
Date Wed, 20 Apr 2011 16:27:33 GMT
I think HConnectionManager can catch IndexOutOfBoundsException and translate
into a more user-friendly message, informing user about thread-safety.

On Wed, Apr 20, 2011 at 9:11 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> I have seen this before.
> HTable isn't thread-safe.
>
> Please describe your usage.
>
> Thanks
>
>
> On Wed, Apr 20, 2011 at 6:03 AM, Venkatesh <vramanathan00@aol.com> wrote:
>
>>
>>  Using hbase-0.90.2..(sigh..) Any tip? thanks
>>
>>
>>  java.lang.IndexOutOfBoundsException: Index: 4, Size: 3
>>    at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>>    at java.util.ArrayList.remove(ArrayList.java:387)
>>    at
>> org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchOfPuts(HConnectionManager.java:1257)
>>    at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:822)
>>    at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:678)
>>    at org.apache.hadoop.hbase.client.HTable.put(HTable.java:663)
>>
>>
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message