Which version of Cassandra 3.x is production ready.

2016-03-15 Thread Prakash Chauhan
Hello, Is Cassandra 3.x production-ready ? Which version of Cassandra 3.x is stable and production-ready ? Regards.

Read consistency

2016-03-15 Thread Arko Provo Mukherjee
Hello, I am designing a system where for a situation, I need to have SERIAL consistency during writes. I understand that if the write was with QUORUM, a Read with QUORUM would have fetched me the correct (most recent) data. My question is what is the minimum consistency level required for read,

Re: Compaction Filter in Cassandra

2016-03-15 Thread Eric Stevens
We have been working on filtering compaction for a month or so (though we call it deleting compaction, its implementation is as a filtering compaction strategy). The feature is nearing completion, and we have used it successfully in a limited production capacity against DSE 4.8 series. Our use ca

Modeling Audit Trail on Cassandra

2016-03-15 Thread I PVP
Hi everyone, I am looking for your feedback or advice on modeling an audit trail log table on Cassandra that stores information from tracking everything an employee changes within the application. The existing application is being migrated from mysql to Cassandra. Is text the most appropriate

Re: Removing Node causes bunch of HostUnavailableException

2016-03-15 Thread Peddi, Praveen
Hi Alain, Sorry I completely missed your email until my colleague pointed it out. >From the testing we have done so far, We still have this issue when removing >nodes on 2.0.9 but not on 2.2.4. We will be upgrading to 2.2.4 pretty soon so >I am not too worried about errors in 2.0.9. Since we hav

Re: Cassandra Upgrade 3.0.x vs 3.x (Tick-Tock Release)

2016-03-15 Thread Kathiresan S
ok, thanks... On Tue, Mar 15, 2016 at 1:29 PM, ssiv...@gmail.com wrote: > Note, that DataStax Enterprise still uses C* v2.1.. > > > On 03/15/2016 08:25 PM, Kathiresan S wrote: > > Thank you all ! > > Thanks, > Kathir > > > On Tue, Mar 15, 2016 at 5:50 AM, ssiv...@gmail.com < > ssiv...@gmail.

Re: Cassandra Upgrade 3.0.x vs 3.x (Tick-Tock Release)

2016-03-15 Thread ssiv...@gmail.com
Note, that DataStax Enterprise still uses C* v2.1.. On 03/15/2016 08:25 PM, Kathiresan S wrote: Thank you all ! Thanks, Kathir On Tue, Mar 15, 2016 at 5:50 AM, ssiv...@gmail.com > wrote: I think that it's not ready, since it has

Re: Cassandra Upgrade 3.0.x vs 3.x (Tick-Tock Release)

2016-03-15 Thread Kathiresan S
Thank you all ! Thanks, Kathir On Tue, Mar 15, 2016 at 5:50 AM, ssiv...@gmail.com wrote: > I think that it's not ready, since it has critical bugs. See emails about > C* memory leaks > > > On 03/15/2016 01:15 AM, Robert Coli wrote: > > On Mon, Mar 14, 2016 at 12:40 PM, Kathiresan S < > kat

Re:

2016-03-15 Thread Jack Krupansky
Be sure to post your final (working) insert for others to learn from! -- Jack Krupansky On Tue, Mar 15, 2016 at 11:56 AM, Rami Badran wrote: > thanks got it > > On Tue, Mar 15, 2016 at 5:54 PM, Jack Krupansky > wrote: > >> There's a UDT example in the doc, showing that you don't put quotes >>

Re:

2016-03-15 Thread Rami Badran
thanks got it On Tue, Mar 15, 2016 at 5:54 PM, Jack Krupansky wrote: > There's a UDT example in the doc, showing that you don't put quotes > around the UDT key names: > https://docs.datastax.com/en/cql/3.3/cql/cql_using/useInsertUDT.html > > > -- Jack Krupansky > > On Tue, Mar 15, 2016 at 11:52

Re:

2016-03-15 Thread Jack Krupansky
There's a UDT example in the doc, showing that you don't put quotes around the UDT key names: https://docs.datastax.com/en/cql/3.3/cql/cql_using/useInsertUDT.html -- Jack Krupansky On Tue, Mar 15, 2016 at 11:52 AM, Jack Krupansky wrote: > In any case, please post any diagnostic message/except

Re:

2016-03-15 Thread Jack Krupansky
In any case, please post any diagnostic message/exception that you may be getting. -- Jack Krupansky On Tue, Mar 15, 2016 at 11:13 AM, Rami Badran wrote: > sorry like this > insert into users (uid,loginIds) values ('111','{ 'emails' : '{' > f...@baggins.com', 'bagg...@gmail.com'}','unverifiedE

Re:

2016-03-15 Thread Rami Badran
sorry like this insert into users (uid,loginIds) values ('111','{ 'emails' : '{' f...@baggins.com', 'bagg...@gmail.com'}','unverifiedEmails' : '{'f...@baggins.com', 'bagg...@gmail.com'}' }'); On Tue, Mar 15, 2016 at 5:01 PM, Jack Krupansky wrote: > No quotes around the UDT key names. (Or use d

Re:

2016-03-15 Thread Carlos Alonso
You're inserting just a set {'f...@baggins.com', 'bagg...@gmail.com'} under the key 'emails' and another set {'a...@baggins.com', 'c...@gmail.com'} for the key 'unverifiedEmails' for your loginIds hash instead of the UDT. Carlos Alonso | Software Engineer | @calonso

Re:

2016-03-15 Thread Rami Badran
sorry am new in cassandra and i want to check if i got you, you mean like this insert into users (uid,loginIds) values ('111','{ 'emails' : {' f...@baggins.com', 'bagg...@gmail.com'},'unverifiedEmails' : {'a...@baggins.com', 'c...@gmail.com'} }'); On Tue, Mar 15, 2016 at 5:01 PM, Jack Krupansky

Re:

2016-03-15 Thread Jack Krupansky
No quotes around the UDT key names. (Or use double quotes.) -- Jack Krupansky On Tue, Mar 15, 2016 at 10:56 AM, Rami Badran wrote: > here is the CQL > > insert into users (uid,loginIds) values ('111',{ 'emails' : {' > f...@baggins.com', 'bagg...@gmail.com'},'unverifiedEmails' : > {'a...@baggi

Re:

2016-03-15 Thread Rami Badran
here is the CQL insert into users (uid,loginIds) values ('111',{ 'emails' : {'f...@baggins.com', 'bagg...@gmail.com'},'unverifiedEmails' : {'a...@baggins.com', 'c...@gmail.com'} }); On Tue, Mar 15, 2016 at 4:54 PM, Spencer Brown wrote: > Should be loginIds map>, with s at the end of the > lo

Re:

2016-03-15 Thread Spencer Brown
Should be loginIds map>, with s at the end of the loginId in the map definition. On Tue, Mar 15, 2016 at 10:38 AM, Rami Badran wrote: > Hi > > i have the following cassandra schema structure: > > CREATE TABLE users ( > uid TEXT, > loginIds map>, > primary key (uid) > ); > > CREATE TYPE loginId (

Re:

2016-03-15 Thread Rakesh Kumar
How are you trying to insert. Paste your code here.

[no subject]

2016-03-15 Thread Rami Badran
Hi i have the following cassandra schema structure: CREATE TABLE users ( uid TEXT, loginIds map>, primary key (uid) ); CREATE TYPE loginId ( emails set, unverifiedEmails set, ); and i tried to insert record to my table,but i have problem with loginIds attribute, could you please advice how i c

Re: C* memory leak during compaction

2016-03-15 Thread Paulo Motta
Did you check bloom filter sizes with nodetool tablestats to see if you're hitting CASSANDRA-11344? If that`s the case there's a patch available along with instructions in some other recent thread on how to fix it. 2016-03-15 6:49 GMT-03:00 ssiv...@gmail.com : > Duplicate the answer from Russell

Re: Cassandra Upgrade 3.0.x vs 3.x (Tick-Tock Release)

2016-03-15 Thread ssiv...@gmail.com
I think that it's not ready, since it has critical bugs. See emails about C* memory leaks On 03/15/2016 01:15 AM, Robert Coli wrote: On Mon, Mar 14, 2016 at 12:40 PM, Kathiresan S mailto:kathiresanselva...@gmail.com>> wrote: We are planning for Cassandra upgrade in our production env

Re: C* memory leak during compaction

2016-03-15 Thread ssiv...@gmail.com
Duplicate the answer from Russell Hatch On 03/14/2016 07:32 PM, Russell Hatch wrote: Of course, no problem. On Sat, Mar 12, 2016 at 3:35 PM, ssiv...@gmail.com > wrote: Hi, Thank you for you reply! The thing is that I've only i

Experiencing strange disconnect issue

2016-03-15 Thread Bo Finnerup Madsen
Hi, We are currently trying to convert an existing java web application to use cassandra, and while most of it works great :) we have a "small" issue. After some time, we all connectivity seems to be lost and we get the following errors: com.datastax.driver.core.exceptions.NoHostAvailableExceptio