In the past I was able to reproduce this error by restarting Hyracks and doing
a load in a loop. Now, even if I let the script loop for over half an hour, it
doesn't throw the error. But, occasionally, when loading a B-tree, the buffer
cache crashes with the following trace:
INFO:
5aa9bec7-833b-4530-ae0e-e72414bdb0b3:e440783f-3472-4885-9618-2ecda9239026:ODID:5
81e0afd-f802-4dd0-81fc-0481d346d09f:2(OperatorRunnable[edu.uci.ics.hyracks.stora
ge.am.btree.dataflow.BTreeBulkLoadOperatorNodePushable@78878c4c]): ABORTED
java.lang.RuntimeException: java.lang.IllegalStateException: Page is pinned and
file is being closed
at edu.uci.ics.hyracks.control.nc.runtime.OperatorRunnable.run(OperatorRunnable.java:85)
at edu.uci.ics.hyracks.control.nc.Stagelet$1.run(Stagelet.java:135)
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:619)
Caused by: java.lang.IllegalStateException: Page is pinned and file is being
closed
at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache.invalidateIfFileIdMatch(BufferCache.java:559)
at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache.sweepAndFlush(BufferCache.java:539)
at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache.closeFile(BufferCache.java:578)
at edu.uci.ics.hyracks.storage.am.btree.dataflow.BTreeOpHelper.deinit(BTreeOpHelper.java:134)
at edu.uci.ics.hyracks.storage.am.btree.dataflow.BTreeBulkLoadOperatorNodePushable.close(BTreeBulkLoadOperatorNodePushable.java:88)
at edu.uci.ics.hyracks.control.nc.runtime.OperatorRunnable.pushFrames(OperatorRunnable.java:102)
at edu.uci.ics.hyracks.control.nc.runtime.OperatorRunnable.run(OperatorRunnable.java:78)
... 4 more
Original issue reported on code.google.com by nicola.o...@gmail.com on 21 Jun 2011 at 5:53
Original issue reported on code.google.com by
nicola.o...@gmail.com
on 21 Jun 2011 at 5:53