You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Cen Qi (JIRA)" <ji...@apache.org> on 2015/04/16 08:21:59 UTC
[jira] [Closed] (PHOENIX-1798) UnsupportedOperationException throws
from BaseResultIterators.getIterators
[ https://issues.apache.org/jira/browse/PHOENIX-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cen Qi closed PHOENIX-1798.
---------------------------
> 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
> Fix For: 5.0.0, 3.3.1, 4.3.1, 4.4.0
>
> 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)