Re: Bootstrapping data from Cassandra 2.2.5 datacenter to 3.0.8 datacenter fails because of streaming errors

2016-10-10 Thread Utkarsh Sengar
As Johathan said, you need to upgrade cassandra directly and use "nodetool upgradesstables". Datastax has an excellent resource on upgrading cassandra https://docs.datastax.com/en/latest-upgrade/upgrade/cassandra/upgdCassandra.html, specifically https://docs.datastax.com/en/latest-upgrade/upgrade/c

Re: Motivation for a DHT ring

2016-06-30 Thread Utkarsh Sengar
With fault tolerance and reliability, it also gives a faster lookup mechanism across various nodes in a cluster. Amazon's dynamo paper might be a better read to understand the reasoning behind a DHT based system: http://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf On Wed, Jun 29,

Re: Cassandra vs Elasticsearch.

2014-05-03 Thread Utkarsh Sengar
I have also written a prototype ES-Cassandra river: https://github.com/eBay/cassandra-river Never tested it in prod, might need improvements. Thanks, -Utkarsh On Sat, May 3, 2014 at 1:37 PM, Tim Dunphy wrote: > I'd like to try your ElasticSearch / Cassandra driver as well. Could you > post a l

Re: Cassandra 2.0 new features ?

2013-06-12 Thread Utkarsh Sengar
Jonathan Ellis has covered it briefly in this presentation here (slide 51): http://www.slideshare.net/planetcassandra/nyc-jonathan-ellis-keynote-cassandra-12-20 They are: 1. Eager retries 2. Improved compaction 3. Triggers 4. CAS (Compare-and-set) 5. More-efficient repair Thanks,

Re: How to find total number of rows in Cassandra databaase?

2013-04-21 Thread Utkarsh Sengar
etween CLI and CQL? > > > > On Sun, Apr 21, 2013 at 1:30 PM, Utkarsh Sengar wrote: > >> Using cqlsh you can do: >> >> SELECT COUNT(*) FROM columnfamily LIMIT 5000; >> >> Does that help? >> >> Read more: http://www.datastax.com/docs/1.0/referenc

Re: How to find total number of rows in Cassandra databaase?

2013-04-21 Thread Utkarsh Sengar
Using cqlsh you can do: SELECT COUNT(*) FROM columnfamily LIMIT 5000; Does that help? Read more: http://www.datastax.com/docs/1.0/references/cql/SELECT Thanks, -Utkarsh On Sun, Apr 21, 2013 at 1:04 PM, Techy Teck wrote: > I have inserted 1000 rows in Cassandra database. Now I am trying to

Reading data in bulk from cassandra for indexing in Elastic search

2013-03-28 Thread Utkarsh Sengar
Hello, I am trying to implement an indexer for a column family in cassandra (cluster of 4 nodes) using elastic search. There is a river pluginwhich I am writing which retrieves data from cassandra and throws to elastic search. It is triggered on