[default@XXXKeyspace] update column family YYY with compression_options =[{}];
Command not found: `update column family YYY with compression_options =[{}];`. Type 'help;' or '?' for help.
[default@XXXKeyspace]

2012/7/20 Viktor Jevdokimov <Viktor.Jevdokimov@adform.com>

First you update schema for CF, then you run nodetool upgradesstables on each node:

 

nodetool –h [HOST] –p [JMXPORT] upgradesstables [keyspace] [cfnames]

 

For me sometimes it works only after node restart (upgrade leaves previous format, compressed or uncompressed).

 

 

 



Best regards / Pagarbiai
Viktor Jevdokimov
Senior Developer

Phone: +370 5 212 3063, Fax +370 5 261 0453
J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
Follow us on Twitter: @adforminsider

Disclaimer: The information contained in this message and attachments is intended solely for the attention and use of the named addressee and may be confidential. If you are not the intended recipient, you are reminded that the information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this message in error, please contact the sender immediately and irrevocably delete this message and any copies.

From: Илья Шипицин [mailto:chipitsine@gmail.com]
Sent: Friday, July 20, 2012 10:16
To: user@cassandra.apache.org
Subject: how to disable compression ?

 

Hello!

how can I run "update" command on column family to disable compression (without re-creating CF) ?

Cheers,
Ilya Shipitsin