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/04/03 01:19:53 UTC
[jira] [Comment Edited] (PHOENIX-1798)
UnsupportedOperationException throws from BaseResultIterators.getIterators
[ https://issues.apache.org/jira/browse/PHOENIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393709#comment-14393709 ]
Samarth Jain edited comment on PHOENIX-1798 at 4/2/15 11:19 PM:
----------------------------------------------------------------
+1. This should be in 4.3.1 else our handling of failures due to splits won't work correctly. Will commit the patch.
was (Author: samarthjain):
+1. This should be in 4.3.1 else our handling failures due to splits won't work correctly. Will commit the patch.
> UnsupportedOperationException throws from BaseResultIterators.getIterators
> --------------------------------------------------------------------------
>
> Key: PHOENIX-1798
> URL: https://issues.apache.org/jira/browse/PHOENIX-1798
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.3.0
> Reporter: Cen Qi
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> If there throw an StaleRegionBoundaryCacheException, concatIterators will be reassigned by Collections.emptyList(). And then call the add method again, it will throw the UnsupportedOperationException.
> Exception in thread "main" org.apache.phoenix.exception.PhoenixIOException
> at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:108)
> at org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:589)
> at org.apache.phoenix.iterate.ConcatResultIterator.getIterators(ConcatResultIterator.java:50)
> at org.apache.phoenix.iterate.ConcatResultIterator.currentIterator(ConcatResultIterator.java:97)
> at org.apache.phoenix.iterate.ConcatResultIterator.next(ConcatResultIterator.java:117)
> at org.apache.phoenix.iterate.BaseGroupedAggregatingResultIterator.next(BaseGroupedAggregatingResultIterator.java:64)
> at org.apache.phoenix.iterate.UngroupedAggregatingResultIterator.next(UngroupedAggregatingResultIterator.java:39)
> at org.apache.phoenix.jdbc.PhoenixResultSet.next(PhoenixResultSet.java:764)
> at PhoenixDemo.main(PhoenixDemo.java:12)
> Caused by: java.lang.UnsupportedOperationException
> at java.util.AbstractList.add(AbstractList.java:148)
> at java.util.AbstractList.add(AbstractList.java:108)
> at org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:535)
> ... 7 more
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)