You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2015/12/10 21:41:11 UTC

[jira] [Comment Edited] (PHOENIX-2447) Phoenix throwing exception when requesting data from hbase when the table is being split

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

Samarth Jain edited comment on PHOENIX-2447 at 12/10/15 8:41 PM:
-----------------------------------------------------------------

Patch looks good [~ayingshu]. Just a couple of of minor nits:

1) Make getIterators(List<List<Scan>> scan, ConnectionQueryServices services, boolean isLocalIndex,
            Queue<PeekingResultIterator> allIterators, List<PeekingResultIterator> iterators, boolean isReverse, long maxQueryEndTime,int splitSize) method private.

2) Extract context.getStatement().getQueryTimeout() * 1000 into a local variable - queryTimeoutMs

3) Please format the code that you added - make sure you are using PhoenixCodeTemplate.xml in your eclipse settings.



was (Author: samarthjain):
Patch looks good [~ayingshu]. Just a couple of of minor nits:

1) Make getIterators(List<List<Scan>> scan, ConnectionQueryServices services, boolean isLocalIndex,
            Queue<PeekingResultIterator> allIterators, List<PeekingResultIterator> iterators, boolean isReverse, long maxQueryEndTime,int splitSize) method private.

2) Extract context.getStatement().getQueryTimeout() * 1000 into a local variable - queryTimeoutMs

2) Please format the code that you added - make sure you are using PhoenixCodeTemplate.xml in your eclipse settings.



> 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)