RE: how to disable compression ?

2012-07-20 Thread Viktor Jevdokimov
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

Email: viktor.jevdoki...@adform.commailto:viktor.jevdoki...@adform.com
Phone: +370 5 212 3063, Fax +370 5 261 0453
J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
Follow us on Twitter: @adforminsiderhttp://twitter.com/#!/adforminsider
What is Adform: watch this short videohttp://vimeo.com/adform/display

[Adform News] http://www.adform.com


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:chipits...@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
inline: signature-logo29.png

Re: how to disable compression ?

2012-07-20 Thread Илья Шипицин
[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.jevdoki...@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

 Email: viktor.jevdoki...@adform.com
 Phone: +370 5 212 3063, Fax +370 5 261 0453
 J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
 Follow us on Twitter: @adforminsiderhttp://twitter.com/#%21/adforminsider
 What is Adform: watch this short video http://vimeo.com/adform/display
  [image: Adform News] http://www.adform.com

 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:chipits...@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

signature-logo29.png

RE: how to disable compression ?

2012-07-20 Thread Viktor Jevdokimov
From cassandra-cli help:

To disable compression just set compression_options to null like this
compression_options = null

so

[default@XXXKeyspace] update column family YYY with compression_options = null;




Best regards / Pagarbiai
Viktor Jevdokimov
Senior Developer

Email: viktor.jevdoki...@adform.commailto:viktor.jevdoki...@adform.com
Phone: +370 5 212 3063, Fax +370 5 261 0453
J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
Follow us on Twitter: @adforminsiderhttp://twitter.com/#!/adforminsider
What is Adform: watch this short videohttp://vimeo.com/adform/display

[Adform News] http://www.adform.com


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:chipits...@gmail.com]
Sent: Friday, July 20, 2012 10:37
To: user@cassandra.apache.org
Subject: Re: how to disable compression ?

[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.jevdoki...@adform.commailto:viktor.jevdoki...@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

Email: viktor.jevdoki...@adform.commailto:viktor.jevdoki...@adform.com
Phone: +370 5 212 3063, Fax +370 5 261 0453
J. Jasinskio 16C, LT-01112 Vilnius, Lithuania
Follow us on Twitter: @adforminsiderhttp://twitter.com/#%21/adforminsider
What is Adform: watch this short videohttp://vimeo.com/adform/display

[Adform News]http://www.adform.com


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:chipits...@gmail.commailto:chipits...@gmail.com]
Sent: Friday, July 20, 2012 10:16
To: user@cassandra.apache.orgmailto: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

inline: image001.pnginline: signature-logo29.png