phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cen Qi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-1798) UnsupportedOperationException throws from BaseResultIterators.getIterators
Date Wed, 01 Apr 2015 07:06:52 GMT
Cen Qi created PHOENIX-1798:
-------------------------------

             Summary: 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


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)

Mime
View raw message