You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this OperatorTest fails even though all tuples are being processed correctly because buffers are currently still being freed when the TASK_STATE_FINISHED event is received:
2014-09-22 14:51:41,794 | INFO FSM-Source2-0-EventDispatcher - CHANGE STATE OF TASK Source2 [e8de05ca-9efa-4284-9df5-2a8f4e7f5954] FROM TASK_STATE_RUNNING TO TASK_STATE_FINISHED [TASK_TRANSITION_FINISH]
2014-09-22 14:51:44,288 | ERROR FSM-Join1-0-EventDispatcher - 1 buffers are not freed.
java.lang.IllegalStateException: 1 buffers are not freed.
at de.tuberlin.aura.core.memory.BufferAllocator.checkForMemoryLeaks(BufferAllocator.java:163)
at de.tuberlin.aura.core.memory.BufferAllocatorGroup.checkForMemoryLeaks(BufferAllocatorGroup.java:157)
at de.tuberlin.aura.taskmanager.TaskDriver.teardownDriver(TaskDriver.java:209)
at de.tuberlin.aura.taskmanager.TaskExecutionUnit$ExecutionUnitRunner$2.stateAction(TaskExecutionUnit.java:190)
at de.tuberlin.aura.taskmanager.TaskExecutionUnit$ExecutionUnitRunner$2.stateAction(TaskExecutionUnit.java:181)
at de.tuberlin.aura.core.common.statemachine.StateMachine$FiniteStateMachine$3.handleEvent(StateMachine.java:424)
at de.tuberlin.aura.core.common.eventsystem.EventDispatcher.dispatch(EventDispatcher.java:324)
at de.tuberlin.aura.core.common.eventsystem.EventDispatcher.access$300(EventDispatcher.java:23)
at de.tuberlin.aura.core.common.eventsystem.EventDispatcher$1.run(EventDispatcher.java:91)
at java.lang.Thread.run(Thread.java:745)
The text was updated successfully, but these errors were encountered:
Adding a Timeout to the TaskDriver's tearDownDriver() before the calls to checkForMemoryLeaks() prevents the exception in the given OperatorTest, indicating that the problem is a timing problem.
dos-group#25 = buffers are currently still being freed when the TASK_STATE_FINISHED
arrives, yet when that event arrives it is checked without synchronization
that all buffers have been freed
Running this OperatorTest fails even though all tuples are being processed correctly because buffers are currently still being freed when the
TASK_STATE_FINISHED
event is received:The text was updated successfully, but these errors were encountered: