]
Hisanobu Okuda updated TEIID-3448:
----------------------------------
Attachment: testdata_b.csv.gz
User query should be terminated when TEIID30001
-----------------------------------------------
Key: TEIID-3448
URL:
https://issues.jboss.org/browse/TEIID-3448
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.4
Environment: JDV6.0, 6.1
Reporter: Hisanobu Okuda
Assignee: Steven Hawkins
Attachments: buffertest.vdb, create_db.sql, jdv_client.zip, standalone.xml,
testdata_a.csv.gz, testdata_b.csv.gz
Even if I get the following error when I access a mat view for the first time just after
starting JDV:-
{code}
12:45:46,404 ERROR [org.teiid.BUFFER_MGR] (BufferManager Cleaner) TEIID30001 Max block
number exceeded by 1 0. Increase the maxStorageObjectSize to support larger storage
objects. Alternatively you could make the processor batch size smaller.
{code}
the result for the query returns sucessfully.
However, the 2nd access to the mat view gives an error at client side:-
{code}
org.teiid.jdbc.TeiidSQLException: Batch not found in storage 0
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:135)
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:71)
at org.teiid.jdbc.StatementImpl.postReceiveResults(StatementImpl.java:668)
{code}
And server side:-
{code}
12:52:50,961 ERROR [org.teiid.PROCESSOR] (Worker3_QueryProcessorQueue6) TEIID30019
Unexpected exception for request LdGNTpFDRwjr.0: java.lang.AssertionError: Batch not found
in storage 0
at
org.teiid.common.buffer.impl.BufferManagerImpl$BatchManagerImpl.getBatch(BufferManagerImpl.java:306)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at org.teiid.common.buffer.SPage.getValues(SPage.java:237)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at org.teiid.common.buffer.TupleBrowser.nextTuple(TupleBrowser.java:223)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.tempdata.TempTable$QueryTupleSource.nextTuple(TempTable.java:192)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:110)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:369)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:278)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.LimitNode.nextBatchDirect(LimitNode.java:102)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:278)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.BatchCollector$BatchProducerTupleSource.nextTuple(BatchCollector.java:89)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.GroupingNode.groupPhase(GroupingNode.java:405)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.GroupingNode.nextBatchDirect(GroupingNode.java:336)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:278)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:146)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:278)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:136)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:151)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:114)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:159)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:141)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:444)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at
org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:326)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:51)
[teiid-engine-8.7.1.redhat-8.jar:8.7.1.redhat-8]
...
{code}