incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radim Kolar <...@filez.com>
Subject leveled compaction - improve log message
Date Fri, 06 Apr 2012 00:51:17 GMT
it would be really helpfull if leveled compaction prints level into syslog.

Demo:

INFO [CompactionExecutor:891] 2012-04-05 22:39:27,043 
CompactionTask.java (line 113) Compacting ***LEVEL 1*** 
[SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19690-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19688-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19691-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19700-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19686-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19696-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19687-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19695-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19689-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19694-Data.db'), 
SSTableReader(path='/var/lib/cassandra/data/rapidshare/querycache-hc-19693-Data.db')]

  INFO [CompactionExecutor:891] 2012-04-05 22:39:57,299 
CompactionTask.java (line 221) *** LEVEL 1 *** Compacted to 
[/var/lib/cassandra/data/rapidshare/querycache-hc-19701-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19702-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19703-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19704-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19705-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19706-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19707-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19708-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19709-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19710-Data.db,/var/lib/cassandra/data/rapidshare/querycache-hc-19711-Data.db,].
 
59,643,011 to 57,564,216 (~96% of original) bytes for 590,909 keys at 
1.814434MB/s.  Time: 30,256ms.



Mime
View raw message