cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radim Kolar (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3314) Fail to delete -Index files if index is currently building
Date Fri, 07 Oct 2011 21:34:30 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123214#comment-13123214
] 

Radim Kolar commented on CASSANDRA-3314:
----------------------------------------

Here is larger segment of log, since index building started. I can reproduce it any time.
Ignore bug _Nothing to compact in sipdb_, its not related. Its other leveldb compaction bug.

 INFO [MigrationStage:1] 2011-10-07 23:24:35,293 Migration.java (line 119) Applying migration
c12c20d0-f12a-11e0-0000-23b38323f4da Update column family to org.apache.cassandra.config.CFMetaData@7c401b[cfId=1000,ksName=test,cfName=sipdb,cfType=Standard,comparator=org.apache.cassandra.db.marshal.AsciiType,subcolumncomparator=<null>,comment=phone
calls routing information,rowCacheSize=0.0,keyCacheSize=0.0,readRepairChance=0.0,replicateOnWrite=false,gcGraceSeconds=0,defaultValidator=org.apache.cassandra.db.marshal.BytesType,keyValidator=org.apache.cassandra.db.marshal.Int32Type,minCompactionThreshold=4,maxCompactionThreshold=32,rowCacheSavePeriodInSeconds=0,keyCacheSavePeriodInSeconds=0,rowCacheKeysToSave=2147483647,rowCacheProvider=org.apache.cassandra.cache.ConcurrentLinkedHashCacheProvider@154c995,mergeShardsChance=0.1,keyAlias=java.nio.HeapByteBuffer[pos=478
lim=481 cap=483],column_metadata={java.nio.HeapByteBuffer[pos=0 lim=3 cap=3]=ColumnDefinition{name=6b616d,
validator=org.apache.cassandra.db.marshal.AsciiType, index_type=KEYS, index_name='kam'}},compactionStrategyClass=class
org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy,compactionStrategyOptions={},compressionOptions={}]
 INFO [MigrationStage:1] 2011-10-07 23:24:35,309 ColumnFamilyStore.java (line 664) Enqueuing
flush of Memtable-Migrations@25069868(7870/9837 serialized/live bytes, 1 ops)
 INFO [FlushWriter:4] 2011-10-07 23:24:35,309 Memtable.java (line 237) Writing Memtable-Migrations@25069868(7870/9837
serialized/live bytes, 1 ops)
 INFO [MigrationStage:1] 2011-10-07 23:24:35,309 ColumnFamilyStore.java (line 664) Enqueuing
flush of Memtable-Schema@3067216(3325/4156 serialized/live bytes, 3 ops)
 INFO [FlushWriter:4] 2011-10-07 23:24:35,356 Memtable.java (line 273) Completed flushing
\var\lib\cassandra\data\system\Migrations-h-17-Data.db (7934 bytes)
 INFO [FlushWriter:4] 2011-10-07 23:24:35,371 Memtable.java (line 237) Writing Memtable-Schema@3067216(3325/4156
serialized/live bytes, 3 ops)
 INFO [FlushWriter:4] 2011-10-07 23:24:35,418 Memtable.java (line 273) Completed flushing
\var\lib\cassandra\data\system\Schema-h-17-Data.db (3475 bytes)
 INFO [MigrationStage:1] 2011-10-07 23:24:35,418 SecondaryIndexManager.java (line 181) Creating
new index : ColumnDefinition{name=6b616d, validator=org.apache.cassandra.db.marshal.AsciiType,
index_type=KEYS, index_name='kam'}
 INFO [Creating index: sipdb.kam] 2011-10-07 23:24:35,449 ColumnFamilyStore.java (line 664)
Enqueuing flush of Memtable-sipdb@30231056(2284899/30490286 serialized/live bytes, 42052 ops)
 INFO [FlushWriter:4] 2011-10-07 23:24:35,449 Memtable.java (line 237) Writing Memtable-sipdb@30231056(2284899/30490286
serialized/live bytes, 42052 ops)
 INFO [FlushWriter:4] 2011-10-07 23:24:36,262 Memtable.java (line 273) Completed flushing
\var\lib\cassandra\data\test\sipdb-h-1049-Data.db (4506422 bytes)
 INFO [CompactionExecutor:3] 2011-10-07 23:24:36,262 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [Creating index: sipdb.kam] 2011-10-07 23:24:36,262 SecondaryIndex.java (line 145) Submitting
index build of sipdb.kam for data in SSTableReader(path='\var\lib\cassandra\data\test\sipdb-h-1047-Data.db'),
SSTableReader(path='\var\lib\cassandra\data\test\sipdb-h-1049-Data.db')
 INFO [CompactionExecutor:3] 2011-10-07 23:24:36,262 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [pool-1-thread-1] 2011-10-07 23:24:36,403 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.2837528604119 (just-counted was 36.2837528604119).
 calculation took 16ms for 67 columns
 INFO [pool-1-thread-1] 2011-10-07 23:24:36,496 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.2837528604119 (just-counted was 35.62471395881007).
 calculation took 15ms for 132 columns
 INFO [pool-1-thread-1] 2011-10-07 23:24:36,668 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.2837528604119 (just-counted was 35.51029748283753).
 calculation took 31ms for 263 columns
 INFO [pool-1-thread-1] 2011-10-07 23:24:37,043 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.286453839516824 (just-counted was 36.286453839516824).
 calculation took 62ms for 535 columns
 INFO [pool-1-thread-1] 2011-10-07 23:24:37,746 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.286453839516824 (just-counted was 36.11138755980861).
 calculation took 109ms for 1065 columns
 INFO [pool-1-thread-1] 2011-10-07 23:24:39,137 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.286453839516824 (just-counted was 36.1418534947848).
 calculation took 219ms for 2127 columns
 INFO [CompactionExecutor:3] 2011-10-07 23:24:39,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:24:39,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [pool-1-thread-1] 2011-10-07 23:24:42,012 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.286453839516824 (just-counted was 35.84278599835191).
 calculation took 437ms for 4235 columns
 INFO [CompactionExecutor:3] 2011-10-07 23:24:44,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:24:44,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [pool-1-thread-1] 2011-10-07 23:24:47,403 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.286453839516824 (just-counted was 36.06701179177452).
 calculation took 875ms for 8500 columns
 INFO [CompactionExecutor:3] 2011-10-07 23:24:49,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:24:49,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:24:54,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:24:54,340 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [pool-1-thread-1] 2011-10-07 23:24:58,512 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 36.286453839516824 (just-counted was 36.10818295381003).
 calculation took 1750ms for 16940 columns
 INFO [CompactionExecutor:3] 2011-10-07 23:24:59,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:24:59,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:04,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:04,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:09,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:09,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:14,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:14,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:19,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:19,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:24,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:24,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:29,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:29,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [pool-1-thread-1] 2011-10-07 23:25:33,279 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 37.129730574542535 (just-counted was 37.129730574542535).
 calculation took 3656ms for 32878 columns
 INFO [CompactionExecutor:3] 2011-10-07 23:25:34,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:34,341 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:39,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:39,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:44,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:44,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:49,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:49,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:54,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:54,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:59,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:25:59,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:04,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:04,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:09,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:09,342 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:14,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:14,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:19,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:19,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:24,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:24,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [OptionalTasks:1] 2011-10-07 23:26:25,483 MeteredFlusher.java (line 62) flushing high-traffic
column family ColumnFamilyStore(table='test', columnFamily='sipdb') (estimated 66493149 bytes)
 INFO [OptionalTasks:1] 2011-10-07 23:26:25,483 ColumnFamilyStore.java (line 664) Enqueuing
flush of Memtable-sipdb.kam@22387768(1290429/59891601 serialized/live bytes, 65999 ops)
 INFO [OptionalTasks:1] 2011-10-07 23:26:25,483 ColumnFamilyStore.java (line 664) Enqueuing
flush of Memtable-sipdb@14468404(495177/6607770 serialized/live bytes, 9112 ops)
 INFO [FlushWriter:5] 2011-10-07 23:26:25,499 Memtable.java (line 237) Writing Memtable-sipdb.kam@22387768(1290429/59891601
serialized/live bytes, 65999 ops)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:29,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:29,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [FlushWriter:5] 2011-10-07 23:26:34,234 Memtable.java (line 273) Completed flushing
\var\lib\cassandra\data\test\sipdb.kam-h-1-Data.db (6963969 bytes)
 INFO [FlushWriter:5] 2011-10-07 23:26:34,234 Memtable.java (line 237) Writing Memtable-sipdb@14468404(495177/6607770
serialized/live bytes, 9112 ops)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:34,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:34,343 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [FlushWriter:5] 2011-10-07 23:26:35,765 Memtable.java (line 273) Completed flushing
\var\lib\cassandra\data\test\sipdb-h-1050-Data.db (984842 bytes)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:35,765 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:35,781 CompactionTask.java (line 119) Compacting
[SSTableReader(path='\var\lib\cassandra\data\test\sipdb-h-1049-Data.db'), SSTableReader(path='\var\lib\cassandra\data\test\sipdb-h-1050-Data.db')]
 INFO [pool-1-thread-1] 2011-10-07 23:26:37,374 Memtable.java (line 177) ColumnFamilyStore(table='test',
columnFamily='sipdb.kam') liveRatio is 37.129730574542535 (just-counted was 36.844857020417244).
 calculation took 12578ms for 65753 columns
 INFO [CompactionExecutor:3] 2011-10-07 23:26:42,078 CompactionTask.java (line 222) Compacted
to [\var\lib\cassandra\data\test\sipdb-h-1051-Data.db,].  5 491 264 to 5 468 836 (~99%
of original) bytes for 50 480 keys at 0,828250MBPS.  Time: 6 297ms.
 INFO [CompactionExecutor:3] 2011-10-07 23:26:42,078 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:42,078 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:42,078 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
 INFO [CompactionExecutor:3] 2011-10-07 23:26:42,093 CompactionTask.java (line 80) Nothing
to compact in sipdb.  Use forceUserDefinedCompaction if you wish to force compaction of single
sstables (e.g. for tombstone collection)
ERROR [NonPeriodicTasks:1] 2011-10-07 23:26:42,140 AbstractCassandraDaemon.java (line 133)
Fatal exception in thread Thread[NonPeriodicTasks:1,5,main]
java.lang.RuntimeException: java.io.IOException: Failed to delete C:\var\lib\cassandra\data\test\sipdb-h-1049-Index.db
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: Failed to delete C:\var\lib\cassandra\data\test\sipdb-h-1049-Index.db
	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:54)
	at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(FileUtils.java:44)
	at org.apache.cassandra.io.sstable.SSTable.delete(SSTable.java:138)
	at org.apache.cassandra.io.sstable.SSTableDeletingTask.runMayThrow(SSTableDeletingTask.java:81)
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
	... 8 more

                
> Fail to delete -Index files if index is currently building
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-3314
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3314
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Radim Kolar
>            Priority: Minor
>             Fix For: 0.8.8, 1.0.0
>
>
> If there is index building in progress, following errors are thrown if cassandra is trying
to delete *-Index.db files. There is no problem with deleting -Data or -Filter.. files. CF
is using leveled compaction but it is probably not related.
> ERROR [NonPeriodicTasks:1] 2011-10-05 09:13:03,702 AbstractCassandraDaemon.java
> (line 133) Fatal exception in thread Thread[NonPeriodicTasks:1,5,main]
> java.lang.RuntimeException: java.io.IOException: Failed to delete C:\var\lib\cas
> sandra\data\test\sipdb-h-772-Index.db
>         at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:3
> 4)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
> 1)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
> access$301(ScheduledThreadPoolExecutor.java:98)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.
> run(ScheduledThreadPoolExecutor.java:206)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:886)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:908)
>         at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message