CarnationWang23 / hyracks

Automatically exported from code.google.com/p/hyracks
Apache License 2.0
0 stars 0 forks source link

BufferCache tries to pin non-existing page #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I got this exception during execution on cluster (does not show up in JUnit 
test): 

   edu.uci.ics.hyracks.api.exceptions.HyracksDataException: java.lang.NullPointerException
        at edu.uci.ics.hyracks.control.nc.Task.pushFrames(Task.java:263)
        at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:206)
        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.NullPointerException
        at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache.pin(BufferCache.java:137)
        at edu.uci.ics.hyracks.storage.am.common.freepage.LinkedListFreePageManager.getFreePage(LinkedListFreePageManager.java:82)
        at edu.uci.ics.hyracks.storage.am.btree.impls.BTree.bulkLoadAddTuple(BTree.java:957)
        at edu.uci.ics.hyracks.storage.am.common.dataflow.TreeIndexBulkLoadOperatorNodePushable.nextFrame(TreeIndexBulkLoadOperatorNodePushable.java:76)
        at edu.uci.ics.hyracks.control.nc.Task.pushFrames(Task.java:247)
        ... 4 more

The code is in hyracks_giraph branch:
http://code.google.com/p/hyracks/source/browse/branches/hyracks_giraph/hyracks-s
torage-common/src/main/java/edu/uci/ics/hyracks/storage/common/buffercache/Buffe
rCache.java

Not sure if it is B-tree update branch.

Original issue reported on code.google.com by buyingyi@gmail.com on 12 Nov 2011 at 1:13

GoogleCodeExporter commented 8 years ago
I'm not sure if this issue exists in btree update branch.   I made local fix 
for issue 44 and 46 in BufferCache code in hyracks_giraph branch.

Original comment by buyingyi@gmail.com on 12 Nov 2011 at 1:16

GoogleCodeExporter commented 8 years ago
It turns out that the issue happens when the disk is full, so it should not be 
a bug.

Original comment by buyingyi@gmail.com on 12 Nov 2011 at 4:27