CarnationWang23 / hyracks

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

IllegalMonitorStateException in BTree bulkload #123

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I set the verifyInput bit to be true, this exception will be triggered.

Exception in thread "main" edu.uci.ics.hyracks.api.exceptions.HyracksException: 
edu.uci.ics.hyracks.api.exceptions.HyracksException: Job failed on account of:
java.lang.IllegalMonitorStateException

    at edu.uci.ics.pregelix.core.driver.Driver.runJob(Driver.java:150)
    at edu.uci.ics.pregelix.example.client.Client.run(Client.java:74)
    at bcc.AuxGraph.main(AuxGraph.java:314)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksException: Job failed on 
account of:
java.lang.IllegalMonitorStateException

    at edu.uci.ics.hyracks.control.cc.job.JobRun.waitForCompletion(JobRun.java:192)
    at edu.uci.ics.hyracks.control.cc.work.WaitForJobCompletionWork$1.run(WaitForJobCompletionWork.java:44)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksDataException: 
java.lang.IllegalMonitorStateException
    at edu.uci.ics.hyracks.storage.am.common.dataflow.IndexBulkLoadOperatorNodePushable.close(IndexBulkLoadOperatorNodePushable.java:92)
    at edu.uci.ics.hyracks.dataflow.std.sort.ExternalSortRunMerger.process(ExternalSortRunMerger.java:159)
    at edu.uci.ics.hyracks.dataflow.std.sort.ExternalSortOperatorDescriptor$MergeActivity$1.initialize(ExternalSortOperatorDescriptor.java:177)
    at edu.uci.ics.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.initialize(SuperActivityOperatorNodePushable.java:81)
    at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:228)
    ... 3 more
Caused by: java.lang.IllegalMonitorStateException
    at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:374)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1260)
    at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:1131)
    at edu.uci.ics.hyracks.storage.common.buffercache.BufferCache$CachedPage.releaseWriteLatch(BufferCache.java:496)
    at edu.uci.ics.hyracks.storage.am.common.impls.AbstractTreeIndex$AbstractTreeIndexBulkLoader.end(AbstractTreeIndex.java:317)
    at edu.uci.ics.hyracks.storage.am.common.dataflow.IndexBulkLoadOperatorNodePushable.close(IndexBulkLoadOperatorNodePushable.java:90)
    ... 7 more

Original issue reported on code.google.com by buyingyi@gmail.com on 31 Jul 2013 at 9:23

GoogleCodeExporter commented 8 years ago

Original comment by buyingyi@gmail.com on 31 Jul 2013 at 9:23

GoogleCodeExporter commented 8 years ago
In yingyi/fullstack_fix, it will eventually make it to master.

Original comment by salsuba...@gmail.com on 1 Aug 2013 at 12:58