[
https://issues.apache.org/jira/browse/HBASE-14777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014377#comment-15014377
]
Ashu Pachauri commented on HBASE-14777:
---------------------------------------
It is a side effect of what I am doing. For the test, I am using the doPut call
that was already there is TestReplicationEndpoint, and using it quite a few
times in succession. From the logs, it seems that it is getting stuck and is
very slow because it goes the the generic HTable.put call.
Since, in my test, I have access to HRegion object, I am going to modify the
test to use directly do a region.put, which will be way faster.
> Fix Inter Cluster Replication Future ordering issues
> ----------------------------------------------------
>
> Key: HBASE-14777
> URL: https://issues.apache.org/jira/browse/HBASE-14777
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Reporter: Bhupendra Kumar Jain
> Assignee: Ashu Pachauri
> Priority: Critical
> Fix For: 2.0.0, 1.2.0, 1.3.0
>
> Attachments: HBASE-14777-1.patch, HBASE-14777-2.patch,
> HBASE-14777-3.patch, HBASE-14777-4.patch, HBASE-14777-5.patch,
> HBASE-14777-6.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)