phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Jain (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (PHOENIX-2447) Phoenix throwing exception when requesting data from hbase when the table is being split
Date Thu, 10 Dec 2015 20:41:11 GMT

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

Mime
View raw message