Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B56B8762B for ; Sun, 24 Jul 2011 07:19:46 +0000 (UTC) Received: (qmail 3012 invoked by uid 500); 24 Jul 2011 07:19:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 2844 invoked by uid 500); 24 Jul 2011 07:19:36 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 2813 invoked by uid 99); 24 Jul 2011 07:19:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 07:19:31 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2011 07:19:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9D2F1824E4 for ; Sun, 24 Jul 2011 07:19:09 +0000 (UTC) Date: Sun, 24 Jul 2011 07:19:09 +0000 (UTC) From: "Zizon (JIRA)" To: issues@hbase.apache.org Message-ID: <1344326307.1847.1311491949640.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <357245547.982.1311425469892.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-4130) HTable.flushCommits throws IndexOutOfBoundsException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zizon resolved HBASE-4130. -------------------------- Resolution: Not A Problem Fix Version/s: 0.90.3 not a bug as by design. > HTable.flushCommits throws IndexOutOfBoundsException > ---------------------------------------------------- > > Key: HBASE-4130 > URL: https://issues.apache.org/jira/browse/HBASE-4130 > Project: HBase > Issue Type: Bug > Components: client > Affects Versions: 0.90.3 > Reporter: Zizon > Fix For: 0.90.3 > > > Using a HTable instance with auto commit disabled in multiple thread may raise IndexOutOfBoundsException , as the processBatchOfPuts remove the commited results by their index which may be wrong as the list size shortened by other thread. > the following is the stack trace. > java.lang.IndexOutOfBoundsException: Index: 3781, Size: 2222 > 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:1252) > at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:826) > at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:682) > at org.apache.hadoop.hbase.client.HTable.put(HTable.java:667) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira