You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by David Beneš <db...@gmail.com> on 2013/10/13 12:04:02 UTC

How can someone change compression type on system keyspace

Hello,
I'm trying to change compression on keyspace "system" from snappy to LZ4 in
cassandra 1.2.10

This keyspace is read-only and command:

USE system;
ALTER TABLE "hints" WITH compression = { 'sstable_compression' :
'LZ4Compressor'};

fails with:
Bad Request: system keyspace is not user-modifiable

Is there another way to achieve this?
We want to migrate all keyspaces to LZ4. Cassandra 2.0 defaults LZ4
compression anyway.

Thanks,
David