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

Maryann Xue commented on PHOENIX-3394:
--------------------------------------

[~jamestaylor], [~lomoree], I just found out the cause for integration test 
failures. It turned out that the check-in for this issue caused a memory leak 
issue. The SequenceManager put every new sequence reference in an internal map 
regardless of validation success or failure and we wanted to use one 
SequenceManager instance throughout the table/sequence resolving process. A 
quick solution is to have a "reset()" method in SequenceManager, so if you guys 
think it's reasonable I'll make the same change in Phoenix master and redo the 
fix check-in after syncing with master.

> Handle SequenceResolving through ConnectionQueryServices interface
> ------------------------------------------------------------------
>
>                 Key: PHOENIX-3394
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3394
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Eric Lomore
>            Assignee: Eric Lomore
>
> Tons of unit tests have this same stack trace. It appears that this call 
> shouldn't reach ConnectionlessQueryServicesImpl.getTable?
> {code}
> Caused by: java.lang.UnsupportedOperationException
>       at 
> org.apache.phoenix.query.ConnectionlessQueryServicesImpl.getTable(ConnectionlessQueryServicesImpl.java:157)
>       at 
> org.apache.phoenix.query.DelegateConnectionQueryServices.getTable(DelegateConnectionQueryServices.java:70)
>       at 
> org.apache.phoenix.execute.MutationState.getHTable(MutationState.java:360)
>       at 
> org.apache.phoenix.iterate.TableResultIterator.<init>(TableResultIterator.java:101)
>       at 
> org.apache.phoenix.iterate.DefaultTableResultIteratorFactory.newIterator(DefaultTableResultIteratorFactory.java:33)
>       at 
> org.apache.phoenix.iterate.ParallelIterators.submitWork(ParallelIterators.java:104)
>       at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:871)
>       ... 71 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to