Re: ITrigger - Help

2016-11-11 Thread siddharth verma
I haven't tried CDC either. Read about it at an abstract level. Suggested it as an option for exploration. We too use trigger on production to indicate which primary key has been acted(update/insert/delete) upon. Regards On Sat, Nov 12, 2016 at 12:08 AM, Jonathan Haddad wrote: > Using CDC is g

Re: ITrigger - Help

2016-11-11 Thread Jonathan Haddad
Using CDC is going to be... difficult. First off (to my knowledge) all you get is a CommitLogReader. If you take a look at the Mutation class (everything is serialized and deserialized there), there's no user reference. You only get a keyspace, key, and a PartitionUpdate, which don't include any

Re: ITrigger - Help

2016-11-11 Thread sat
Hi Siddharth Verma, We explored this option, it seems it outputs the change only to a log file and we cannot get notified to a listener class. Could you please provide us what kind of information is pushed in the commit log and when we should read commitlog. Do we need to instantiate CommitLogRead

User auth error during new DC rebuild

2016-11-11 Thread Felipe Esteves
Hi, I've got a strange behaviour when adding a new DC to my Cassandra cluster. Cassandra version is 2.1.8. The topology is a 3 DC cluster (let's call it A, B, C) and I have 3 users (1 superuser, 2 non-superuser) I'm adding a new DC (let's call it D) with 1 node, so I started it with auto_bootstr

Re: ITrigger - Help

2016-11-11 Thread sat
Hi Jon, Thanks for your prompt answer. Thanks A.SathishKumar On Fri, Nov 11, 2016 at 10:04 AM, Jonathan Haddad wrote: > cqlsh uses the Python driver, I don't see how there would be any way to > differentiate where the request came from unless you stuck an extra field > in the table that you al

Re: ITrigger - Help

2016-11-11 Thread siddharth verma
Hi Sathish, You could look into, Change Data Capture (CDC) ( https://issues.apache.org/jira/browse/CASSANDRA-8844 . It might help you for some of your requirements. Regards Siddharth Verma On Fri, Nov 11, 2016 at 11:34 PM, Jonathan Haddad wrote: > cqlsh uses the Python driver, I don't see how t

Re: ITrigger - Help

2016-11-11 Thread siddharth verma
Hi Sathish, You could look into, Change Data Capture (CDC) ( https://issues.apache.org/ jira/browse/CASSANDRA-8844 . It might help you for some of your requirements. Regards Siddharth Verma On Fri, Nov 11, 2016 at 11:34 PM, Jonathan Haddad wrote: > cqlsh uses the Python driver, I don't see how

Re: ITrigger - Help

2016-11-11 Thread siddharth verma
Hi Sathish, You could look into, Change Data Capture (CDC) ( https://issues.apache.org/jira/browse/CASSANDRA-8844 . It might help you for some of your requirements. Regards Siddharth Verma On Fri, Nov 11, 2016 at 11:34 PM, Jonathan Haddad wrote: > cqlsh uses the Python driver, I don't see how t

Re: ITrigger - Help

2016-11-11 Thread Jonathan Haddad
cqlsh uses the Python driver, I don't see how there would be any way to differentiate where the request came from unless you stuck an extra field in the table that you always write when you're not in cqlsh, or you modified cqlsh to include that field whenever it did an insert. Checking iTrigger so

ITrigger - Help

2016-11-11 Thread sat
Hi, We are planning to use ITrigger to notify changes, when we execute scripts or run commands in cqlsh prompt. If the operation is performed through our application CRUD API, we are planning to handle notification in our CRUD API itself, however if user performs some operation(like write operatio

unsubscribe

2016-11-11 Thread Rosker, Matthias

Problem with COPY FROM/TO and counters

2016-11-11 Thread Jaroslav KamenĂ­k
Hi guys, we are making a simple tool which allows us to transform table via COPY TO -> drop table -> transform schema/data -> create table -> COPY FROM. It works well in most cases, but we have problem with loading of counter columns, it fails with "ParseError - argument for 's' must be a string,