asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdullah Alamoudi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ASTERIXDB-2205) ClassCastException on Memory->Disk Cursor Switch
Date Wed, 03 Jan 2018 11:42:00 GMT

     [ https://issues.apache.org/jira/browse/ASTERIXDB-2205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Abdullah Alamoudi resolved ASTERIXDB-2205.
------------------------------------------
    Resolution: Fixed

> ClassCastException on Memory->Disk Cursor Switch
> ------------------------------------------------
>
>                 Key: ASTERIXDB-2205
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2205
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: STO - Storage
>            Reporter: Murtadha Hubail
>            Assignee: Abdullah Alamoudi
>            Priority: Critical
>
> Stack below:
> {noformat}
> org.apache.hyracks.api.exceptions.HyracksDataException: java.lang.ClassCastException:
org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeWithBloomFilterDiskComponent cannot
be cast to org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMMemoryComponent
> 	at org.apache.hyracks.api.exceptions.HyracksDataException.create(HyracksDataException.java:49)
~[hyracks-api-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:209)
~[hyracks-storage-am-common-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.dataflow.common.comm.io.AbstractFrameAppender.write(AbstractFrameAppender.java:93)
~[hyracks-dataflow-common-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.algebricks.runtime.operators.std.EmptyTupleSourceRuntimeFactory$1.open(EmptyTupleSourceRuntimeFactory.java:55)
~[algebricks-runtime-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.algebricks.runtime.operators.meta.AlgebricksMetaOperatorDescriptor$SourcePushRuntime.initialize(AlgebricksMetaOperatorDescriptor.java:104)
~[algebricks-runtime-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.api.rewriter.runtime.SuperActivityOperatorNodePushable.lambda$runInParallel$0(SuperActivityOperatorNodePushable.java:204)
~[hyracks-api-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_152]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
> 	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]
> Caused by: java.lang.ClassCastException: org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeWithBloomFilterDiskComponent
cannot be cast to org.apache.hyracks.storage.am.lsm.common.impls.AbstractLSMMemoryComponent
> 	at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeRangeSearchCursor.redoMemoryComponentSearchIfNeeded(LSMBTreeRangeSearchCursor.java:292)
~[hyracks-storage-am-lsm-btree-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeRangeSearchCursor.replaceMemoryComponentWithDiskComponentIfNeeded(LSMBTreeRangeSearchCursor.java:214)
~[hyracks-storage-am-lsm-btree-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeRangeSearchCursor.checkPriorityQueue(LSMBTreeRangeSearchCursor.java:102)
~[hyracks-storage-am-lsm-btree-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.storage.am.lsm.common.impls.LSMIndexSearchCursor.hasNext(LSMIndexSearchCursor.java:139)
~[hyracks-storage-am-lsm-common-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeSearchCursor.hasNext(LSMBTreeSearchCursor.java:66)
~[hyracks-storage-am-lsm-btree-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.writeSearchResults(IndexSearchOperatorNodePushable.java:169)
~[hyracks-storage-am-common-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	at org.apache.hyracks.storage.am.common.dataflow.IndexSearchOperatorNodePushable.nextFrame(IndexSearchOperatorNodePushable.java:206)
~[hyracks-storage-am-common-0.3.3-SNAPSHOT.jar:0.3.3-SNAPSHOT]
> 	... 8 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message