Re: Does saveToCassandra work with Cassandra Lucene plugin ?

2016-03-28 Thread Jack Krupansky
The exception message has an empty column name. Odd. Not sure if that is a bug in the exception code or whether you actually have an empty column name somewhere. Did you use the absolutely exact same commands to create the keyspace, table, and custom index as in the Stratio readme? -- Jack

Re: Does saveToCassandra work with Cassandra Lucene plugin ?

2016-03-28 Thread Cleosson José Pirani de Souza
Hi Jack, Yes, I used the exact same commands in the Stratio readme. Thanks, Cleososn From: Jack Krupansky Sent: Monday, March 28, 2016 6:06 PM To: user@cassandra.apache.org Subject: Re: Does saveToCassandra work with Cassandra

Re: Does saveToCassandra work with Cassandra Lucene plugin ?

2016-03-28 Thread Cleosson José Pirani de Souza
Hi, One important thing, if I remove the custom index using Lucene, saveToCassandra works. Thanks Cleosson From: Anuj Wadehra Sent: Monday, March 28, 2016 3:27 PM To: user@cassandra.apache.org; Cleosson José Pirani de Souza;

Re: Why is write failing

2016-03-28 Thread Rakesh Kumar
> This is in my cassandra-topology.properties my bad. I used wrong file, instead of rackdc properties file.

Re: Counter values become under-counted when running repair.

2016-03-28 Thread Dikang Gu
Hi Aleksey, do you get a chance to take a look? Thanks Dikang. On Thu, Mar 24, 2016 at 10:30 PM, Dikang Gu wrote: > @Aleksey, sure, here is the jira: > https://issues.apache.org/jira/browse/CASSANDRA-11432 > > Thanks! > > On Thu, Mar 24, 2016 at 5:32 PM, Aleksey Yeschenko

Acceptable repair time

2016-03-28 Thread Jack Krupansky
Someone recently asked me for advice when their repair time was 2-3 days. I thought that was outrageous, but not unheard of. Personally, to me, 2-3 hours would be about the limit of what I could tolerate, and my personal goal would be that a full repair of a node should take no longer than an

Solr and vnodes anyone?

2016-03-28 Thread Jack Krupansky
Somebody recently asked me for advice on the use of Solr (DSE Search) and vnodes, so I was wondering... is anybody here actually using Solr/DSE Search with vnodes enabled? If so, with what token count? The default of 256 would result in somewhat suboptimal query performance, so the question is

Re: How is the coordinator node in LOCAL_QUORUM chosen?

2016-03-28 Thread Eric Stevens
> Local quorum works in the same data center as the coordinator node, but when an app server execute the write query, how is the coordinator node chosen? It typically depends on the driver, and decent drivers offer you several options for this, usually called load balancing strategy. You

*** What is the best way to model this JSON *** ??

2016-03-28 Thread Lokesh Ceeba - Vendor
Hello Team, How to design/develop the best data model for this JSON ? var json=[{ "id":"9a55fdf6-eeab-4c83-9c6f-04c7df1b3225", "user":"ssatish", "event":"business", "occurredOn":"09 Mar 2016 17:55:15.292-0600",

Re: *** What is the best way to model this JSON *** ??

2016-03-28 Thread Jack Krupansky
As always with Cassandra data modeling, you must start with your intended query and access patterns as well as the cardinality of your data. So, what information is your app likely to have when it needs to perform a query and what information is it going to want to retrieve? What is the full

Re: What is the best way to model this JSON ??

2016-03-28 Thread Ryan Svihla
Lokesh, The modeling will change a bit depending on your queries, the rate of update and your tooling (Spring-data-cassandra makes a mess of updating collections for example). I suggest asking the Cassandra users mailing list for help since this list is for development OF Cassandra. > On Mar

RE: *** What is the best way to model this JSON *** ??

2016-03-28 Thread Lokesh Ceeba - Vendor
Team, Here is the listing of data elements.. Search/Sorting criteria: Search fields Order by fields object, id id object, id, triggered_ts triggered_ts object, id, state triggered_ts app_id, triggered_ts triggered_ts event_type object, id, triggered_ts event_type, triggered_ts

Does saveToCassandra work with Cassandra Lucene plugin ?

2016-03-28 Thread Cleosson José Pirani de Souza
Hello, I am implementing the example on the github (https://github.com/Stratio/cassandra-lucene-index) and when I try to save the data using saveToCassandra I get the exception NoSuchElementException. If I use CassandraConnector.withSessionDo I am able to add elements into Cassandra and

Re: Does saveToCassandra work with Cassandra Lucene plugin ?

2016-03-28 Thread Anuj Wadehra
With my limited experience with Spark, I can tell you that you need to make sure that all columns mentioned in somecolumns must be part of CQL schema of table. ThanksAnuj Sent from Yahoo Mail on Android On Mon, 28 Mar, 2016 at 11:38 pm, Cleosson José Pirani de

Re: Does saveToCassandra work with Cassandra Lucene plugin ?

2016-03-28 Thread Anuj Wadehra
I used it with Java and there, every field of Pojo must map to column names of the table. I think someone with Scala syntax knowledge can help you better. ThanksAnuj Sent from Yahoo Mail on Android On Mon, 28 Mar, 2016 at 11:47 pm, Anuj Wadehra wrote: With my

Why is write failing

2016-03-28 Thread Rakesh Kumar
Cassandra: 3.0.3 I am new to Cassandra. I am creating a test instance of four nodes, two in each data center. The idea is to verify that Cassandra can continue with writes even if one DC is down and we further lose one machine in the surviving DC. This is in my cassandra-topology.properties