You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ian Maxon (JIRA)" <ji...@apache.org> on 2016/05/27 22:14:12 UTC
[jira] [Assigned] (ASTERIXDB-1465) BTree Merge selects wrong file
for output
[ https://issues.apache.org/jira/browse/ASTERIXDB-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ian Maxon reassigned ASTERIXDB-1465:
------------------------------------
Assignee: Ian Maxon
> BTree Merge selects wrong file for output
> -----------------------------------------
>
> Key: ASTERIXDB-1465
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-1465
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: Hyracks, Storage
> Reporter: Ian Maxon
> Assignee: Ian Maxon
>
> This happened on an instance that was ingesting tweets for about two weeks. An NC died at some point and was restarted, and everything works fine until a merge is scheduled. It fails with the below stack and the fallout from this causes exceptions to come from the buffer cache for resultant queries.
> INFO: Started a merge operation for index: LSMBTree [/mnt/asterixdb/asterixdb/storage/partition_1/feeds/Tweets_idx_Tweets/] ...
> May 27, 2016 1:49:09 PM org.apache.hyracks.storage.common.buffercache.BufferCache openFile
> INFO: Opening file: 20 in cache: org.apache.hyracks.storage.common.buffercache.BufferCache@7cddf110
> May 27, 2016 1:49:09 PM org.apache.hyracks.storage.common.buffercache.BufferCache openFile
> INFO: Opening file: 5 in cache: org.apache.hyracks.storage.common.buffercache.BufferCache@7cddf110
> May 27, 2016 1:49:09 PM org.apache.hyracks.storage.common.buffercache.BufferCache closeFile
> INFO: Closing file: 5 in cache: org.apache.hyracks.storage.common.buffercache.BufferCache@7cddf110
> May 27, 2016 1:49:09 PM org.apache.hyracks.storage.common.buffercache.BufferCache closeFile
> INFO: Closed file: 5 in cache: org.apache.hyracks.storage.common.buffercache.BufferCache@7cddf110
> May 27, 2016 1:49:09 PM org.apache.hyracks.storage.common.buffercache.BufferCache openFile
> INFO: Opening file: 5 in cache: org.apache.hyracks.storage.common.buffercache.BufferCache@7cddf110
> org.apache.hyracks.storage.am.common.api.TreeIndexException: Cannot bulk-load a non-empty tree.
> at org.apache.hyracks.storage.am.common.impls.AbstractTreeIndex$AbstractTreeIndexBulkLoader.<init>(AbstractTreeIndex.java:339)
> at org.apache.hyracks.storage.am.btree.impls.BTree$BTreeBulkLoader.<init>(BTree.java:965)
> at org.apache.hyracks.storage.am.btree.impls.BTree.createBulkLoader(BTree.java:953)
> at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTree.merge(LSMBTree.java:522)
> at org.apache.hyracks.storage.am.lsm.common.impls.LSMHarness.merge(LSMHarness.java:478)
> at org.apache.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.merge(LSMTreeIndexAccessor.java:111)
> at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeMergeOperation.call(LSMBTreeMergeOperation.java:79)
> at org.apache.hyracks.storage.am.lsm.btree.impls.LSMBTreeMergeOperation.call(LSMBTreeMergeOperation.java:36)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)