namhnguyen / asterixdb

Automatically exported from code.google.com/p/asterixdb
0 stars 0 forks source link

Failed to deactivate the index since it is already deactivated #735

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
While I'm running 7A experiment, which is "Constant merge policy" experiment,  
with the following command line options, 
JAVA_OPTS="-Djava.util.logging.config.file=/home/youngsk2/lsm-experiments20/logg
ing.properties -Djava.security.egd=file:/dev/./urandom" ./lsmexprunner -d 1200 
-di 4697620480 -k /home/youngsk2/.ssh/id_rsa -ler 
/home/youngsk2/lsm-experiments20 -mh /mnt/data/sde/youngsk2/managix -ni 7 -oh 
128.195.9.30 -op 10100 -rh 128.195.9.21 -rp 19002 -u youngsk2 -regex '(7A)' -sf 
/mnt/data/sdg/youngsk2/stat.log &> run.log

and with the following experiment set-up
JVM: 6GB
Balloon: 4.5GB
Total Data Ingestion Size: 490GB

I got the following exception.
(Please find the zip file attached for the complete log)
INFO: Finished the flush operation for index: LSMBTree 
[/lv_scratch/scratch/youngsk2/asterix/storage/experiments/Tweets_idx_Tweets/devi
ce_id_0/]
  Mar 16, 2014 9:42:28 PM edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness scheduleMerge
  INFO: Scheduled a merge operation for index: LSMBTree [/lv_scratch/scratch/youngsk2/asterix/storage/experiments/Tweets_idx_BtreeExtraFieldIdx/device_id_0/] ...
  Mar 16, 2014 9:42:28 PM edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness flush 
  INFO: Finished the flush operation for index: LSMBTree [/lv_scratch/scratch/youngsk2/asterix/storage/experiments/Tweets_idx_BtreeExtraFieldIdx/device_id_0/]
  Mar 16, 2014 9:42:28 PM edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness merge 
  INFO: Started a merge operation for index: LSMBTree [/lv_scratch/scratch/youngsk2/asterix/storage/experiments/Tweets_idx_BtreeExtraFieldIdx/device_id_0/] ...
  edu.uci.ics.hyracks.api.exceptions.HyracksDataException: Failed to deactivate the index since it is already deactivated.
      at edu.uci.ics.hyracks.storage.am.common.impls.AbstractTreeIndex.deactivate(AbstractTreeIndex.java:152)
      at edu.uci.ics.hyracks.storage.am.lsm.btree.impls.LSMBTreeDiskComponent.destroy(LSMBTreeDiskComponent.java:33)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.exitComponents(LSMHarness.java:172)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.modify(LSMHarness.java:231)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.modify(LSMHarness.java:217)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.insert(LSMTreeIndexAccessor.java:45)
      at edu.uci.ics.asterix.common.dataflow.AsterixLSMInsertDeleteOperatorNodePushable.nextFrame(AsterixLSMInsertDeleteOperatorNodePushable.java:57)
      at edu.uci.ics.hyracks.control.nc.Task.pushFrames(Task.java:316)
      at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:269)
      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:724)
  edu.uci.ics.hyracks.api.exceptions.HyracksDataException: Failed to deactivate the index since it is already deactivated.
      at edu.uci.ics.hyracks.storage.am.common.impls.AbstractTreeIndex.deactivate(AbstractTreeIndex.java:152)
      at edu.uci.ics.hyracks.storage.am.lsm.btree.impls.LSMBTreeDiskComponent.destroy(LSMBTreeDiskComponent.java:33)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.exitComponents(LSMHarness.java:172)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.modify(LSMHarness.java:231)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.modify(LSMHarness.java:217)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.insert(LSMTreeIndexAccessor.java:45)
      at edu.uci.ics.asterix.common.dataflow.AsterixLSMInsertDeleteOperatorNodePushable.nextFrame(AsterixLSMInsertDeleteOperatorNodePushable.java:57)
      at edu.uci.ics.hyracks.control.nc.Task.pushFrames(Task.java:316)
      at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:269)
      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:724)
  edu.uci.ics.hyracks.api.exceptions.HyracksDataException: edu.uci.ics.hyracks.api.exceptions.HyracksDataException: edu.uci.ics.hyracks.api.exceptions.HyracksDataException: Failed to deactivate the index since it is already deactivated.
      at edu.uci.ics.hyracks.control.nc.Task.pushFrames(Task.java:332)
      at edu.uci.ics.hyracks.control.nc.Task.run(Task.java:269)
      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:724)
  Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksDataException: edu.uci.ics.hyracks.api.exceptions.HyracksDataException: Failed to deactivate the index since it is already deactivated.
      at edu.uci.ics.asterix.common.dataflow.AsterixLSMInsertDeleteOperatorNodePushable.nextFrame(AsterixLSMInsertDeleteOperatorNodePushable.java:79)
      at edu.uci.ics.hyracks.control.nc.Task.pushFrames(Task.java:316)
      ... 4 more
  Caused by: edu.uci.ics.hyracks.api.exceptions.HyracksDataException: Failed to deactivate the index since it is already deactivated.
      at edu.uci.ics.hyracks.storage.am.common.impls.AbstractTreeIndex.deactivate(AbstractTreeIndex.java:152)
      at edu.uci.ics.hyracks.storage.am.lsm.btree.impls.LSMBTreeDiskComponent.destroy(LSMBTreeDiskComponent.java:33)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.exitComponents(LSMHarness.java:172)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.modify(LSMHarness.java:231)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMHarness.modify(LSMHarness.java:217)
      at edu.uci.ics.hyracks.storage.am.lsm.common.impls.LSMTreeIndexAccessor.insert(LSMTreeIndexAccessor.java:45)
      at edu.uci.ics.asterix.common.dataflow.AsterixLSMInsertDeleteOperatorNodePushable.nextFrame(AsterixLSMInsertDeleteOperatorNodePushable.java:57)
      ... 5 more
  Mar 16, 2014 9:42:28 PM edu.uci.ics.hyracks.storage.common.buffercache.BufferCache createFile
  INFO: Creating file: /lv_scratch/scratch/youngsk2/asterix/storage/experiments/Tweets_idx_BtreeExtraFieldIdx/device_id_0/2014-03-16-21-42-21-816_2014-03-16-17-50-58-925_b in cache: edu.uci.ics.hyracks.storage.common.buffercache.BufferCac  he@40754382 
  Mar 16, 2014 9:42:28 PM edu.uci.ics.hyracks.storage.common.buffercache.BufferCache openFile
  INFO: Opening file: 2732 in cache: edu.uci.ics.hyracks.storage.common.buffercache.BufferCache@40754382

Original issue reported on code.google.com by kiss...@gmail.com on 17 Mar 2014 at 10:34

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ima...@uci.edu on 14 Oct 2014 at 9:34