Re: progress of cleanup operations

2012-11-29 Thread Michael Kjellman
One thought I had would be to grep for all lines in the logs for the equivalent of grep "Cleaning up SSTableReader(path='/data/cassandra/keyspace/cf/" /var/log/cassandra/system.log | wc -l which would give you the number of sstables processed for that column family. Then you could compare that t

failing reconcilliation during counter increment?

2012-11-29 Thread David Vanderfeesten
Hi We are running a Cassandra 1.0.7, 2 node setup on EC2 using ephemeral disks for storage. Debugging inconsistent dara between 2 nodes we saw logging below. Following the counter CF design, I assume this means the READ step reconciliating the memtable value with the SSTables on the replica rec

Re: Rename cluster

2012-11-29 Thread Rob Coli
On Thu, Nov 29, 2012 at 11:56 AM, Wei Zhu wrote: > I am trying to rename a cluster by following the instruction on Wiki: > [...] > I have to remove the data directory in order to change the cluster name. > Luckily it's my testing box, so no harm. Just wondering what has been > changed not to allow

Re: Rename cluster

2012-11-29 Thread Edward Capriolo
Since the cluster name is only cosmetic people do not often change it. I would not do this in a production cluster for sure. On Thu, Nov 29, 2012 at 2:56 PM, Wei Zhu wrote: > Hi, > I am trying to rename a cluster by following the instruction on Wiki: > > Cassandra says "ClusterName mismatch: old

Rename cluster

2012-11-29 Thread Wei Zhu
Hi, I am trying to rename a cluster by following the instruction on Wiki: Cassandra says "ClusterName mismatch: oldClusterName != newClusterName" and refuses to start To prevent operator errors, Cassandra stores the name of the cluster in its system table. If you need to rename a cluster for s

Re: progress of cleanup operations

2012-11-29 Thread Michael Kjellman
compactionstats does not show the overall progress it has made on cleanup operations for an entire keyspace -- It just shows the current progress on each sstable it is working on. How would you suggest you abstract those stats to guesstimate overall cleanup progress across all sstables in that keys

Re: progress of cleanup operations

2012-11-29 Thread Jeremy Hanna
You can do check nodetool compactionstats to see progress for current cleanup operations. It essentially traverses all of your sstables and removes data that the node isn't responsible for. So that's the overall operation, so you would estimate in terms of how long it would take to go through

progress of cleanup operations

2012-11-29 Thread Michael Kjellman
I know there is very little insight currently into long running JMX operations but has anyone figured out any way clever to determine approximate progress on cleanup operations? Merci. Best, Michael 'Like' us on Facebook for exclusive content and other resources on all Barracuda Networks solut

RE Need help in updating metadata of an existing column family

2012-11-29 Thread Romain HARDOUIN
Hi Roshan, Take a peep at http://www.datastax.com/docs/1.1/dml/using_cli#reading-rows-and-columns Hope that helps. Cheers Roshan Dawrani a écrit sur 29/11/2012 11:28:48 : > Roshan Dawrani > 29/11/2012 11:28 > > Veuillez répondre à > user@cassandra.apache.org > > A > > user , > > cc >

Re: Need help in updating metadata of an existing column family

2012-11-29 Thread Roshan Dawrani
Is it possible to update the column-metadata of a column family definition programmatically? If yes, can someone please point me to the right classes to use? Thanks. On Thu, Nov 29, 2012 at 3:58 PM, Roshan Dawrani wrote: > Hi, > > I have an existing column family that is created with comparator