From 1b36b044fb648b6323176592a2c2e7667ffc8e21 Mon Sep 17 00:00:00 2001 From: Amnon Heiman Date: Thu, 2 Jul 2015 09:23:29 +0300 Subject: [PATCH] Instantiating the CompactionManger in Main --- src/main/java/com/cloudius/urchin/main/Main.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/cloudius/urchin/main/Main.java b/src/main/java/com/cloudius/urchin/main/Main.java index fada4fd..4a1b978 100644 --- a/src/main/java/com/cloudius/urchin/main/Main.java +++ b/src/main/java/com/cloudius/urchin/main/Main.java @@ -7,6 +7,7 @@ import com.cloudius.urchin.api.APIClient; import org.apache.cassandra.db.ColumnFamilyStore; import org.apache.cassandra.db.commitlog.CommitLog; +import org.apache.cassandra.db.compaction.CompactionManager; import org.apache.cassandra.gms.Gossiper; import org.apache.cassandra.gms.FailureDetector; import org.apache.cassandra.locator.EndpointSnitchInfo; @@ -29,6 +30,7 @@ public class Main { FailureDetector.getInstance(); ColumnFamilyStore.register_mbeans(); CacheService.getInstance(); + CompactionManager.getInstance(); Thread.sleep(Long.MAX_VALUE); }