phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alicia Ying Shu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2447) Phoenix throwing exception when requesting data from hbase when the table is being split
Date Wed, 09 Dec 2015 21:25:11 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049396#comment-15049396
] 

Alicia Ying Shu commented on PHOENIX-2447:
------------------------------------------

What we found in our internal tests were that even without enabling normalizer, the exception
could still occur if the table is being split. At this point, the table could be split again
and so on. While querying the being split table, after getting the exception, we could retry.
Currently, Phoenix retries once then throwing exception. The correct way is to retry until
query timeout. Also while retrying, keep already processed iterators in order and only retry
those regions that split.

Uploaded a revised patch. Thanks [~ankit.singhal] and [~rajeshbabu] for offline discussion
and reviewing the patch



> Phoenix throwing exception when requesting data from hbase when the table is being split
> ----------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2447
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2447
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Alicia Ying Shu
>            Assignee: Alicia Ying Shu
>         Attachments: PHOENIX-2447.patch
>
>
> Phoenix throwing exception when requesting data from hbase which has normalizer enabled.
> Exception java.lang.RuntimeException: org.apache.phoenix.schema.StaleRegionBoundaryCacheException:
ERROR 1108 (XCL07): Cache of region boundaries are out of date.
> 	at sqlline.SqlLine$IncrementalRows.hasNext(SqlLine.java:2440)
> 	at sqlline.SqlLine$TableOutputFormat.print(SqlLine.java:2074)
> 	at sqlline.SqlLine.print(SqlLine.java:1735)
> 	at sqlline.SqlLine$Commands.execute(SqlLine.java:3683)
> 	at sqlline.SqlLine$Commands.sql(SqlLine.java:3584)
> 	at sqlline.SqlLine.dispatch(SqlLine.java:821)
> 	at sqlline.SqlLine.begin(SqlLine.java:699)
> 	at sqlline.SqlLine.mainWithInputRedirection(SqlLine.java:441)
> 	at sqlline.SqlLine.main(SqlLine.java:424)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message