asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Maxon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ASTERIXDB-1465) BTree Merge selects wrong file for output
Date Fri, 27 May 2016 22:14:12 GMT
Ian Maxon created ASTERIXDB-1465:
------------------------------------

             Summary: 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


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)

Mime
View raw message