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 9D6FC18547 for ; Wed, 18 Nov 2015 08:05:11 +0000 (UTC) Received: (qmail 96517 invoked by uid 500); 18 Nov 2015 08:05:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 96458 invoked by uid 500); 18 Nov 2015 08:05:11 -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 96401 invoked by uid 99); 18 Nov 2015 08:05:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2015 08:05:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 30B6B2C1F72 for ; Wed, 18 Nov 2015 08:05:11 +0000 (UTC) Date: Wed, 18 Nov 2015 08:05:11 +0000 (UTC) From: "Ashu Pachauri (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14777) Replication fails with 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-14777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010435#comment-15010435 ] Ashu Pachauri commented on HBASE-14777: --------------------------------------- [~appy] Thanks for the comment. But, now I am curious, because I am also not the one who wrote this piece of code originally :) I had the impression that if f.get() failed, we would NOT want entryLists.remove to execute on that item, because we want to retry to ship the remaining entries in the list. Isn't that so? > Replication fails with IndexOutOfBoundsException > ------------------------------------------------ > > Key: HBASE-14777 > URL: https://issues.apache.org/jira/browse/HBASE-14777 > Project: HBase > Issue Type: Bug > Components: Replication > Reporter: Bhupendra Kumar Jain > Assignee: Bhupendra Kumar Jain > Priority: Critical > Fix For: 2.0.0, 1.2.0, 1.3.0 > > Attachments: HBASE-14777-1.patch, HBASE-14777-2.patch, HBASE-14777.patch > > > Replication fails with IndexOutOfBoundsException > {code} > regionserver.ReplicationSource$ReplicationSourceWorkerThread(939): org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint threw unknown exception:java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 > at java.util.ArrayList.rangeCheck(Unknown Source) > at java.util.ArrayList.remove(Unknown Source) > at org.apache.hadoop.hbase.replication.regionserver.HBaseInterClusterReplicationEndpoint.replicate(HBaseInterClusterReplicationEndpoint.java:222) > {code} > Its happening due to incorrect removal of entries from the replication entries list. -- This message was sent by Atlassian JIRA (v6.3.4#6332)