[ 
https://issues.apache.org/jira/browse/CASSANDRA-5335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13601386#comment-13601386
 ] 

Dean Hiller commented on CASSANDRA-5335:
----------------------------------------

We went to org.apache.cassandra.db -> ColumnFamilies -> {our keyspace}-> {our 
CF} -> Attributes -> CompactionStrategyClass and then changed "SizeTiered" to 
"Leveled" or rather the whole string was 
org.apache.cassandra.db.compaction.LeveledCompactionStrategy.  We hit 
enter...nothing happened.  We ran a "nodetool compact databus5 nreldata" and 
the files are the same.  unfortunately we are in QA with little data and wanted 
to set the default size=1 but could not find that in JMX.  We can't tell if it 
is working or not.
                
> need ability to switch to LCS node by node
> ------------------------------------------
>
>                 Key: CASSANDRA-5335
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5335
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.2
>         Environment: linux, cassandra 1.2.2
>            Reporter: Dean Hiller
>              Labels: compaction
>
> when we switched to LCS, nearly all the servers started rewriting their file 
> structure.  We need a way to switch just one node so we can slowly roll out a 
> huge change like this.  doing the whole cluster brought it to it's needs and 
> we tried nodetool stop compaction on some nodes but that did not help at all. 
>  We had to really wait overnight for all LCS to finish. 
> We had also tried nodetool setcompactionthroughput 1 which also had no effect 
> and performance was still pretty bad.  Ideally, none of this would be a 
> problem if we were just doing one node as we would just pull the node back 
> out while it was converting to LCS.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to