Re: Multi-DC Repairs and Token Questions

2014-05-28 Thread chovatia jaydeep
What is your partition type? Is it org.apache.cassandra.dht.Murmur3Partitioner? In your repair command i do see there are two different KeySpaces MY_KEYSPACE and SN_KEYSPACE, are these two separate key spaces or typo?      -jaydeep On Tuesday, 27 May 2014 10:26 PM, Matthew Allen

Understanding about Cassandra read repair with QUORUM

2014-01-11 Thread chovatia jaydeep
Hi, I have following understanding about Cassandra read repair: * If we write with QUORUM and read with QUORUM then we do not need to externally (nodetool) trigger read repair.  * Since we are reading + writing with QUORUM then it is safe to set read_repair_chance=0

Re: Fast lookups for userId to username and vice versa

2011-11-14 Thread chovatia jaydeep
Check if Cassandra secondary index meets your requirement. Thank you, Jaydeep From: Aklin_81 asdk...@gmail.com To: user user@cassandra.apache.org Sent: Sunday, 13 November 2011 12:32 PM Subject: Fast lookups for userId to username and vice versa I need to

Re: Will writes with ALL consistency eventually propagate?

2011-11-06 Thread chovatia jaydeep
Hi Riyad, You can set replication = 5 (number of replicas) and write with CL = ONE. There is no hard requirement from Cassandra to write with CL=ALL to replicate the data unless you need it. Considering your example, If you write with CL=ONE then also it will replicate your data to all 5

Re: Atomicity of batch updates

2011-06-15 Thread chovatia jaydeep
Cassandra write operation is atomic for all the columns/super columns for a given row key in Column Family. So in your case not all previous operations (assuming each operation was on separate key) will be reverted. Thank you, Jaydeep From: Artem Orobets

Re: When does it make sense to use TimeUUID?

2011-06-15 Thread chovatia jaydeep
Hi Sameer, One example is, store all the tweets for a given user in a Column Family, where row key is user name/user id and column name is of TimeUUID type that  represents tweet arrival time. User would generally like to see the tweets sorted based on its arrival time. So TimeUUID will help

Re: How to load schema non-programmatically? loadSchemaFromYAML doesn't work

2011-05-10 Thread chovatia jaydeep
Hi, If you are looking for some utility for loading the schema they you can use schematool command line utlity as:  $ schematool host port import|export Thank you, Jaydeep From: Jim the Standing Bear standingb...@gmail.com To: user@cassandra.apache.org Sent:

Re: Unable to add columns to empty row in Column family: Cassandra

2011-05-03 Thread chovatia jaydeep
Hi Anuya, However, columns are not being inserted. Do you mean to say that after insert operation you couldn't retrieve the same data? If so, then please check the time-stamp when you reinserted after delete operation. Your second insertion time-stamp has to be greater than the previous

Re: Unable to add columns to empty row in Column family: Cassandra

2011-05-03 Thread chovatia jaydeep
One small correction in my mail below.  Second insertion time-stamp has to be greater than delete time-stamp in-order to retrieve the data. Thank you, Jaydeep From: chovatia jaydeep chovatia_jayd...@yahoo.co.in To: user@cassandra.apache.org user