I was using cassandra direct because it has more performace than using CQL.
Therefore, I am using cassandra because of replication factor and
consistence of data. I am using it as a lib of my app. I only make sample
querys, just use a key to point to a data.
2012/11/16 Everton Lima
even if you made the calls through cql you would have the same issue since
cql uses thrift. 1.2:0 is supposed to be nicer with concurrent
modifications.
On Monday, November 19, 2012, Everton Lima peitin.inu...@gmail.com wrote:
I was using cassandra direct because it has more performace than
For some reason I can not reply my old thread in that list. So I was
creating a new one.
The problem is that I do not use thrift to gain in performace. Why it is
nicer with concurrent modifications? I do not know why I have falling in
the problem of concurrent modification if I was creating 2
Have you actually tested to see that the Thrift API is more performant than
CQL for your application? As far as I know, CQL almost always has a
performance advantage over the Thrift API.
On Mon, Nov 19, 2012 at 1:05 PM, Everton Lima peitin.inu...@gmail.comwrote:
For some reason I can not
Yes I already have tested. I use the Object CassandraServer to do the
operations instead of open conection with CassandraClient. Both of this
object implements Iface. I think the performace of use CassandraServer
improve because it does not open an connection, and CassandraClient (that
use thrift)
@cassandra.apache.orgmailto:user@cassandra.apache.org
Date: Monday, November 19, 2012 6:24 PM
To: user@cassandra.apache.orgmailto:user@cassandra.apache.org
user@cassandra.apache.orgmailto:user@cassandra.apache.org
Subject: Re: SchemaDisagreementException
Yes I already have tested. I use the Object
@cassandra.apache.org user@cassandra.apache.org
Date: Monday, November 19, 2012 6:24 PM
To: user@cassandra.apache.org user@cassandra.apache.org
Subject: Re: SchemaDisagreementException
Yes I already have tested. I use the Object CassandraServer to do the
operations instead of open conection
I do that because I need to create a dynamic column families.
I create 2 keyspaces in the start of application, using embedded cassandra
instance too, but it's never throw exception. And than, insert dynamic
column families in this 2 keyspaces.
I put a Thread.sleep(3000); in the middle of the
Some times, when I try to insert a data in Cassandra with Method:
static void createColumnFamily(String keySpace, String columnFamily){
synchronized (mutex){
Iface cs = new CassandraServer();
CfDef cfDef = new CfDef(keySpace, columnFamily);
cfDef =
Out of interest why are you creating column families by making direct calls on
an embedded cassandra instance ? I would guess you life would be easier if you
defined a schema in CQL or CLI.
I already read in the documentation that this error occurs when more than one
thread/processor
10 matches
Mail list logo