I am inserting records in billions into cassandra simultaneously. So, to utilize resource I need to disable the compaction at the time the insertion is in progress. Once the insertion is done I should be able to manually kick start the Compaction. I am using hector-core-1.0-5 as API to connect to cassandra. Can any one help me in how to do this.
You can control the compaction for a column family via the management console (JMX). You can disable before loading and then force major compaction after data loaded.