Re: Nodetool ring and "Replicas" after 1.2 upgrade

2015-06-16 Thread Michael Theroux
After looking at the cassandra code a little, I believe this is not really an issue. After the upgrade to 1.2, we still see the issue described in this bug I filed: https://issues.apache.org/jira/browse/CASSANDRA-5264 The "Replicas" is calculated by adding up the effective ownership of all the n

CL not satisfied when new node is joining?

2015-06-16 Thread Vasileios Vlachos
Hello, We have a demo cassandra cluster (version 1.2.18) with two DCs and 4 nodes in total. Our client is using the Datastax C# driver (version 1.2.7). RF='DC1':2, 'DC2':2. The consistency level is set to LOCAL_QUORUM and all traffic is coming directly from the application servers in DC1, which th

Re: Question regarding concurrent bootstrapping

2015-06-16 Thread Alain RODRIGUEZ
Hi Jens, if you are going to dramatically change the number of nodes or for a lot of high movement in tokens you might want to consider DC switching - adding a DC, switching client, dropping old DC. You can use this also for a few other cases like using vnodes, changing their number or even the pa

Re: Seed Node OOM

2015-06-16 Thread Alain RODRIGUEZ
Hi, Is your OOM on heap or on native memory ? Since 2.1 put a lot of things on native memory I would say that it is almost always bad to have 6 GB out of 8 for the heap (unless you have a very small data set), since in the 2 GB remaining you have to keep bloom filters, indexes and more + Page cach

Re: Nodetool ring and "Replicas" after 1.2 upgrade

2015-06-16 Thread Alain RODRIGUEZ
Hi Michael, I barely can access internet right now and was not able to check outputs on my computer, yet first thing that come to my mind is that since 1.2.x (and vnodes) I use rather nodetool status instead. What is the "nodetool status" output ? Also did you try to specify the keyspace ? Since

Re: Using Cassandra and Twisted (Python)

2015-06-16 Thread Alex Popescu
Jonathan, I'm pretty sure you'll have better chances to get this answered on the Python driver mailing list https://groups.google.com/a/lists.datastax.com/forum/#!forum/python-driver-user On Tue, Jun 16, 2015 at 1:01 AM, Jonathan Ballet wrote: > Hi, > > I'd like to write some Python application

Re: Lucene index plugin for Apache Cassandra

2015-06-16 Thread Sebastian Estevez
> > I understood that running Spark and Solr in the same data center was not > possible. It was always possible, just not supported. This changed in 4.7, see the docs: http://docs.datastax.com/en/datastax_enterprise/4.7/datastax_enterprise/ana/dseSearchAnalyticsOverview.html All the best, [im

Re: Lucene index plugin for Apache Cassandra

2015-06-16 Thread Andres de la Peña
Many thanks for the clarification, I will look at DSE Search in detail because having the option of using Solr indexes with Spark jobs is a very interesting feature to reduce the amount of data to be collected. I understood that running Spark and Solr in the same data center was not possible. Best

Re: Replication in one datacetner only

2015-06-16 Thread Carlos Rolo
Yes, set the replication factor of the keyspace to only use the datacenter you want. More information here: http://docs.datastax.com/en/cql/3.1/cql/cql_reference/create_keyspace_r.html Regards, Carlos Juzarte Rolo Cassandra Consultant Pythian - Love your data rolo@pythian | Twitter: cjrolo | L

Replication in one datacetner only

2015-06-16 Thread Willis Yonker
Hi, I'm wondering if it would be possible to have a keyspace setup to replicate only within a single datacenter, regardless of how many other datacenters there are in the cluster. I have a case where some machines will be at a site that needs it's database replicated to all nodes at that site. H

Re: Lucene index plugin for Apache Cassandra

2015-06-16 Thread Jeremiah D Jordan
Just an FYI. DSE Search does not run in its own JVM, it runs in the same JVM that Cassandra is running in. DSE Search also has integration with Spark map/reduce out of the box. > On Jun 16, 2015, at 9:42 AM, Andres de la Peña wrote: > > Thanks for your interest. > > I am not familiar with

Re: Lucene index plugin for Apache Cassandra

2015-06-16 Thread Andres de la Peña
Thanks for your interest. I am not familiar with DSE Search internals, so I can only express some impressions. In my opinion, both projects have similarities, but there are several key differences: - DSE Solr, if I'm not wrong, runs in a separate JVM preserving its APIs and interfaces, whil

Re: Tuning Cassandra 2.1 for High Writes and Immediate Reads

2015-06-16 Thread Sebastian Estevez
If you use clustering order by and need to keep the top rows in cache, look at the row cache in 2.1. http://www.datastax.com/dev/blog/row-caching-in-cassandra-2-1 On Jun 16, 2015 5:39 AM, "Pracheer Agarwal" wrote: > Hi, > > We are evaluating Cassandra 2.1 for our new production system. The > fol

Re: Nodetool ring and "Replicas" after 1.2 upgrade

2015-06-16 Thread Michael Theroux
Thanks Jason, No errors in the log.  Also the nodes do have a consistent schema for the keyspace (although this was a problem during the upgrade that we resolved using the procedure specified here:  https://wiki.apache.org/cassandra/FAQ#schema_disagreement).   -Mike   From: Jason Wee To:

Tuning Cassandra 2.1 for High Writes and Immediate Reads

2015-06-16 Thread Pracheer Agarwal
Hi, We are evaluating Cassandra 2.1 for our new production system. The following are the requirements: 1. 15K writes/sec with 5 KB blob in a single column of a column family, 2. This is followed by immediate Reads by multiple consumer threads, the read requires us to return entire Row and not onl

RE: PrepareStatement problem

2015-06-16 Thread Peer, Oded
When you alter a table the Cassandra server invalidates the prepared statements it is holding, so when clients (like your own) execute the prepared statement the server informs the client it needs to be re-prepared and the client does it automatically. If this isn’t working for you then you shou

Using Cassandra and Twisted (Python)

2015-06-16 Thread Jonathan Ballet
Hi, I'd like to write some Python applications using Twisted to talk to a Cassandra cluster. It seems like the Datastax Python library from https://github.com/datastax/python-driver does support Twisted, but it's not exactly clear how I would use this library along with Twisted. The documen

Re: PrepareStatement problem

2015-06-16 Thread joseph gao
But I'm using 2.1.6, I still get this bug. So, I should discard that PrepareStatement when I get the alter table message? How can I get and deal that message? 2015-06-15 16:45 GMT+08:00 Peer, Oded : > This only applies to “select *” queries where you don’t specify the > column names. > > There