[
https://issues.apache.org/jira/browse/PHOENIX-7295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tanuj Khurana reassigned PHOENIX-7295:
--------------------------------------
Assignee: Tanuj Khurana
> Fix getTableRegions failing due to overlap/inconsistencies on region
> --------------------------------------------------------------------
>
> Key: PHOENIX-7295
> URL: https://issues.apache.org/jira/browse/PHOENIX-7295
> Project: Phoenix
> Issue Type: Bug
> Reporter: Tanuj Khurana
> Assignee: Tanuj Khurana
> Priority: Major
>
> Call is failing with below exception but prev region start/end key is more
> that current region start/end key.
> {code:java}
> HBase region overlap/inconsistencies on
> region=TEST.T1,00DG0000000BmaA0D51L00007I7hn000516000006bhpG,1630096440965.f7984a617b32835f54e080f236e6517e.,
> hostname=localhost,61020,1711471610848, seqNum=130428 , current key:
> 00DG0000000BmaA0D51L00007Iagpf00516000006wBmb , region startKey:
> 00DG0000000BmaA0D51L00007I7hn000516000006bhpG , region endKey:
> 00DG0000000BmaA0D51L00007JBsQU005G0000004AXE2 , prev region startKey:
> 00DG0000000BmaA0D51L00009I6xCm00516000006bhpG , prev region endKey:
> 00DG0000000BmaA0D58X00009JLrTm {code}
> {code:java}
> Exception encountered in getAllTableRegions for table: TEST.T1, retryCount: 3
> , currentKey: 00DG0000000BmaA0D51L00007Iagpf , startRowKey:
> 00DG0000000BmaA0D51L00007Iagpf , endRowKey: 00DG0000000BmaA0D58X0000E2Nmki
> Cause: java.io.IOException: HBase region information overlap/inconsistencies
> on region
> TEST.T1,00DG0000000BmaA0D51L00007I7hn000516000006bhpG,1630096440965.f7984a617b32835f54e080f236e6517e.
> StackTrace:
> org.apache.phoenix.query.ConnectionQueryServicesImpl.getNextRegionStartKey(ConnectionQueryServicesImpl.java:775)
> org.apache.phoenix.query.ConnectionQueryServicesImpl.getTableRegions(ConnectionQueryServicesImpl.java:815)
> org.apache.phoenix.query.DelegateConnectionQueryServices.getTableRegions(DelegateConnectionQueryServices.java:96)
> org.apache.phoenix.iterate.DefaultParallelScanGrouper.getRegionBoundaries(DefaultParallelScanGrouper.java:85)
> org.apache.phoenix.iterate.BaseResultIterators.getRegionBoundaries(BaseResultIterators.java:588)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)