EDS Error transferring block to storage cites Max buffer space when space should be available

Solution Unverified - Updated -

Issue

  • The following is occurring
2013-10-22 14:08:54,762 ERROR [org.teiid.BUFFER_MGR] (FileStore Worker26) Error transferring block to storage 1017719 154521 Max buffer space of 21,474,836,48 0 bytes has been exceed.  The current operation will be aborted.
2013-10-22 14:08:55,079 ERROR [org.teiid.PROCESSOR] (Worker1850_QueryProcessorQueue343624) Unexpected exception for request yrEOAnB6Be6r.1
org.teiid.core.TeiidComponentException: Cannot add batch to invalidated cache group "{1}".  Check prior logs to see if there was an error persisting a batch.
        at org.teiid.common.buffer.impl.BufferManagerImpl$BatchManagerImpl.createManagedBatch(BufferManagerImpl.java:211)
        at org.teiid.common.buffer.TupleBuffer.saveBatch(TupleBuffer.java:254)
        at org.teiid.common.buffer.TupleBuffer.addTuple(TupleBuffer.java:191)
        at org.teiid.common.buffer.TupleBuffer.addTupleBatch(TupleBuffer.java:204)
        at org.teiid.query.processor.BatchIterator.finalRow(BatchIterator.java:73)
        at org.teiid.common.buffer.AbstractTupleSource.getCurrentTuple(AbstractTupleSource.java:69)
        at org.teiid.query.processor.BatchIterator.getCurrentTuple(BatchIterator.java:85)
        at org.teiid.common.buffer.AbstractTupleSource.nextTuple(AbstractTupleSource.java:48)
        at org.teiid.query.processor.relational.EnhancedSortMergeJoinStrategy.process(EnhancedSortMergeJoinStrategy.java:390)
        at org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:210)
        at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
        at org.teiid.query.processor.BatchIterator.finalRow(BatchIterator.java:70)
        at org.teiid.common.buffer.AbstractTupleSource.getCurrentTuple(AbstractTupleSource.java:69)
        at org.teiid.query.processor.BatchIterator.getCurrentTuple(BatchIterator.java:85)
        at org.teiid.common.buffer.AbstractTupleSource.hasNext(AbstractTupleSource.java:91)
        at org.teiid.query.processor.relational.SourceState.getTupleBuffer(SourceState.java:261)
        at org.teiid.query.processor.relational.SourceState.getTupleBuffer(SourceState.java:245)
        at org.teiid.query.processor.relational.EnhancedSortMergeJoinStrategy.loadLeft(EnhancedSortMergeJoinStrategy.java:233)
        at org.teiid.query.processor.relational.JoinNode.nextBatchDirect(JoinNode.java:186)
        at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
        at org.teiid.query.processor.BatchCollector$BatchProducerTupleSource.nextTuple(BatchCollector.java:86)
        at org.teiid.query.processor.relational.SortUtility.initialSort(SortUtility.java:248)
        at org.teiid.query.processor.relational.SortUtility.sort(SortUtility.java:185)
        at org.teiid.query.processor.relational.GroupingNode.sortPhase(GroupingNode.java:357)
        at org.teiid.query.processor.relational.GroupingNode.nextBatchDirect(GroupingNode.java:306)
        at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
        at org.teiid.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:155)
        at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:280)
        at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:149)
        at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:139)
        at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:105)
        at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:147)
        at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:377)
        at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:290)
        at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
        at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:218)
        at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:244)
        at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:122)
        at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:292)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

Environment

  • Red Hat JBoss Data Services 5.3.1
  • "N"GB buffer space maximum value set and error message on ~1/2 "N".
  • When a large query is executed

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In