Clarification needed on how triggers execute on batch mutations

2018-07-12 Thread Rahul Singh
Folks, I have a question regarding how mutations from batch statements trigger 'TRIGGERS' In unlogged batch, in a single partition mutation, I'm expecting one partition to be affected and returned.. but does it trigger for each and every row? In logged batch, in a single partition, I'm expecting

Are Cassandra Triggers Thread Safe? ("Tough questions perhaps!")

2017-02-20 Thread Kant Kodali
Hi, 1. Are Cassandra Triggers Thread Safe? what happens if two writes invoke the trigger where the trigger is trying to modify same row in a partition? 2. Had anyone used it successfully on production? If so, any issues? (I am using the latest version of C* 3.10) 3. I have partitions

Re: Help with cassandra triggers

2017-01-17 Thread Jonathan Haddad
secase where we need to support triggers with multiple > datacenters. > The use case is we need is > 1) Data is written into DC1. > 2) The Sync configured will sync the data to DC2 > 3) when the data is written into DC2, we need a trigger to fire on DC2. > > I have tested the tri

Help with cassandra triggers

2017-01-17 Thread suraj pasuparthy
Hello We have a usecase where we need to support triggers with multiple datacenters. The use case is we need is 1) Data is written into DC1. 2) The Sync configured will sync the data to DC2 3) when the data is written into DC2, we need a trigger to fire on DC2. I have tested the triggers

Re: Cassandra Triggers

2016-11-09 Thread DuyHai Doan
tion system of new mutation, there is >> a CDC feature, available since 3.9 only (maybe not production ready yet) >> >> On Wed, Nov 9, 2016 at 3:11 PM, Nethi, Manoj <manoj.ne...@fmr.com> wrote: >> >>> Hi, >>> >>> Are Triggers in Cassandra production ready ? >>> >>> Version: Cassandra 3.3.0 >>> >>> >>> >>> Thanks >>> >>> Manoj >>> >>> >> > > > -- > A.SathishKumar > 044-24735023 >

Re: Cassandra Triggers

2016-11-09 Thread sat
cause the write path is critical. > > Alternatively if you need a notification system of new mutation, there is > a CDC feature, available since 3.9 only (maybe not production ready yet) > > On Wed, Nov 9, 2016 at 3:11 PM, Nethi, Manoj <manoj.ne...@fmr.com> wrote: > >> Hi

Re: Cassandra Triggers

2016-11-09 Thread DuyHai Doan
since 3.9 only (maybe not production ready yet) On Wed, Nov 9, 2016 at 3:11 PM, Nethi, Manoj <manoj.ne...@fmr.com> wrote: > Hi, > > Are Triggers in Cassandra production ready ? > > Version: Cassandra 3.3.0 > > > > Thanks > > Manoj > >

Cassandra Triggers

2016-11-09 Thread Nethi, Manoj
Hi, Are Triggers in Cassandra production ready ? Version: Cassandra 3.3.0 Thanks Manoj

Re: Cassandra Triggers - Cassandra internally creating trigger.jar files in /tmp/lib/ directory

2016-10-12 Thread sudheer k
com?from=list> - Hosted Cloud Cassandra on > Azure and SoftLayer.Launch your cluster in minutes.* > > > ---- On Wed, 12 Oct 2016 23:54:58 -0400*sudheer k > <sudheer.hdp...@gmail.com>* wrote > > Hi All, > > I faced issue with triggers today. Below is the cle

Re: Cassandra Triggers - Cassandra internally creating trigger.jar files in /tmp/lib/ directory

2016-10-12 Thread Vladimir Yudovin
. Launch your cluster in minutes. On Wed, 12 Oct 2016 23:54:58 -0400sudheer k sudheer.hdp...@gmail.com wrote Hi All, I faced issue with triggers today. Below is the clear description of the issue: 1) When we planned to use triggers, we placed the triggers.jar file in /conf

Re: Cassandra Triggers - Cassandra internally creating trigger.jar files in /tmp/lib/ directory

2016-10-12 Thread sudheer k
;> >> Best regards, Vladimir Yudovin, >> >> >> *Winguzone <https://winguzone.com?from=list> - Hosted Cloud Cassandra on >> Azure and SoftLayer.Launch your cluster in minutes.* >> >> >> On Wed, 12 Oct 2016 23:54:58 -0400*sudheer k >&

Re: Cassandra Triggers - Cassandra internally creating trigger.jar files in /tmp/lib/ directory

2016-10-12 Thread sudheer k
uzone.com?from=list> - Hosted Cloud Cassandra on > Azure and SoftLayer.Launch your cluster in minutes.* > > > On Wed, 12 Oct 2016 23:54:58 -0400*sudheer k > <sudheer.hdp...@gmail.com > <javascript:_e(%7B%7D,'cvml','sudheer.hdp...@gmail.com');>>* wrote >

Re: Cassandra Triggers - Cassandra internally creating trigger.jar files in /tmp/lib/ directory

2016-10-12 Thread Vladimir Yudovin
, Vladimir Yudovin, Winguzone - Hosted Cloud Cassandra on Azure and SoftLayer. Launch your cluster in minutes. On Wed, 12 Oct 2016 23:54:58 -0400sudheer k sudheer.hdp...@gmail.com wrote Hi All, I faced issue with triggers today. Below is the clear description of the issue: 1

Cassandra Triggers - Cassandra internally creating trigger.jar files in /tmp/lib/ directory

2016-10-12 Thread sudheer k
Hi All, I faced issue with triggers today. Below is the clear description of the issue: 1) When we planned to use triggers, we placed the triggers.jar file in /conf/triggers folder in Cassandra, restarted the Cassandra service and created a trigger in CQLSH. Everything was working good

Re: Adding Materialized View triggers "Mutation Too Large" error.

2016-08-08 Thread Jason J. W. Williams
Hi Paulo, Thanks for bug link! I've subscribed to it for updates. Thankfully, these tables for something still in beta so we can wipe the data. But it'll be great when its fixed. -J On Mon, Aug 8, 2016 at 4:26 PM, Paulo Motta wrote: > What happens is that when trying

Re: Adding Materialized View triggers "Mutation Too Large" error.

2016-08-08 Thread Paulo Motta
What happens is that when trying to rebuild the MV, the rebuilder tries to create a very large batch that exceeds commitlog_segment_size_in_mb. This limitation is currently being addressed on CASSANDRA-11670. Two options I can see to workaround this for now: 1) increase

Adding Materialized View triggers "Mutation Too Large" error.

2016-08-08 Thread Jason J. W. Williams
HI Guys, We're running Cassandra 3.0.8, and needed to add a field to a table and it's materialized views. We dropped the MVs, added the fields to the underlying table, and recreated MVs with the new fields. However, the MV creation is failing with: WARN [CompactionExecutor:6933] 2016-08-08

Re: Cassandra 3.4 Triggers API

2016-07-29 Thread Siddharth Verma
Hi Jakub, You can read the mail thread on how to extract clustering columns in trigger. https://mail-archives.apache.org/mod_mbox/cassandra-user/201605.mbox/%3CCAAam9ssYf0LvBgJ86M1Phb0ak7=jnh_acoanr8ofov4kvbr...@mail.gmail.com%3E Extracting partition key for the operation is mentioned in the

Re: Cassandra 3.4 Triggers API

2016-07-25 Thread Jakub Narloch
of non primary key columns to be audited, as is > done with triggers in MySQL, unfortunately, as far as I know, this can't be > done. > However for the values of partition key, clustering column, on which the > update,insert,delete is called, > this can be extracted by using the UnfilteredRowI

Re: Cassandra 3.4 Triggers API

2016-07-25 Thread Siddharth Verma
ion : If you have extremely heavy write/update work load, it may cause to create wide rows.* Your second point isn't clear. If you want the values of non primary key columns to be audited, as is done with triggers in MySQL, unfortunately, as far as I know, this can't be done. However for the val

Cassandra 3.4 Triggers API

2016-07-25 Thread Jakub Narloch
Hi guys, I had been exploring recently the Cassandra Triggers and I think that there are going to be very useful for my use case, though I think that I would need a bit of help with setting it up. I fallow this example and it was been very helpful, my use case is basically similar I want to have

Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated GCs?

2016-04-21 Thread Sotirios Delimanolis
We're running G1 at the moment, both young and mixed collections. On Thursday, April 21, 2016 11:07 AM, Jake Luciani wrote: What kind of collection? if its par new I wouldn't worry. On Thu, Apr 21, 2016 at 2:02 PM, Sotirios Delimanolis wrote:

Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated GCs?

2016-04-21 Thread Jake Luciani
What kind of collection? if its par new I wouldn't worry. On Thu, Apr 21, 2016 at 2:02 PM, Sotirios Delimanolis wrote: > Should this be of any concern? Are the corresponding threads spending too > long in this JNI critical region and delaying GC? > > I don't get that

Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated GCs?

2016-04-21 Thread Sotirios Delimanolis
Should this be of any concern? Are the corresponding threads spending too long in this JNI critical region and delaying GC? I don't get that impression at all from the GC log timings. They're very reasonable. On Thursday, April 21, 2016 10:57 AM, Jake Luciani wrote:

Re: What does Cassandra use (JNI?) that triggers GCLocker Initiated GCs?

2016-04-21 Thread Jake Luciani
It's only used by the Snappy and LZ4 Compressors On Thu, Apr 21, 2016 at 1:54 PM, Sotirios Delimanolis wrote: > According to this Oracle document > , GCLocker > Initiated GC > > is triggered when a JNI

What does Cassandra use (JNI?) that triggers GCLocker Initiated GCs?

2016-04-21 Thread Sotirios Delimanolis
According to this Oracle document, GCLocker Initiated GC is triggered when a JNI critical region was released. GC is blocked when any thread is in the JNI Critical region.If GC was requested during that period, that GC is invoked after all the threads come out of the JNI critical

Re: cassandra triggers

2015-03-23 Thread Asit KAUSHIK
attached is the code . You follow the process for compiling and using the code. If anything more is required please let me know. The Jar file has to be put into /usr/share/cassandra/conf/triggers. Hope this helps Regards asit On Mon, Mar 23, 2015 at 3:20 PM, Rahul Bhardwaj rahul.bhard

Re: cassandra triggers

2015-03-23 Thread Jason Wee
the code. If anything more is required please let me know. The Jar file has to be put into /usr/share/cassandra/conf/triggers. Hope this helps Regards asit On Mon, Mar 23, 2015 at 3:20 PM, Rahul Bhardwaj rahul.bhard...@indiamart.com wrote: Yes Asit you can share it with me, let c if we

Re: cassandra triggers

2015-03-23 Thread Rahul Bhardwaj
as on all the sites i used below for my reference. But again the code is for older release and would not work.. http://noflex.org/learn-experiment-cassandra-trigger/ On Mon, Mar 23, 2015 at 11:01 AM, Rahul Bhardwaj rahul.bhard...@indiamart.com wrote: Hi All, I want to use triggers

Re: cassandra triggers

2015-03-23 Thread Asit KAUSHIK
:01 AM, Rahul Bhardwaj rahul.bhard...@indiamart.com wrote: Hi All, I want to use triggers in cassandra. Is there any tutorial on creating triggers in cassandra . Also I am not good in java. Pl help !! Regards: Rahul Bhardwaj Follow IndiaMART.com http://www.indiamart.com for latest

Re: cassandra triggers

2015-03-23 Thread Robert Coli
On Sun, Mar 22, 2015 at 10:31 PM, Rahul Bhardwaj rahul.bhard...@indiamart.com wrote: I want to use triggers in cassandra. Is there any tutorial on creating triggers in cassandra . For the record, it is my understanding that you almost certainly should not use the current Cassandra triggers

Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread Asit KAUSHIK
HI All, We are trying to integrate elasticsearch with Cassandra and as the river plugin uses select * from any table it seems to be bad performance choice. So i was thinking of inserting into elasticsearch using Cassandra trigger. So i wanted your view does a Cassandra Trigger impacts the

Re: Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread Ken Hancock
. The biggest danger of the triggers in their current state is that they are on the write path. In your trigger, you can try to push the mutation asynchronously to ES but in this case it will mean managing a thread pool and all related issues. Not even mentioning atomicity issues like: what happen

Re: Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread DuyHai Doan
Be very very careful not to perform blocking calls to ElasticSearch in your trigger otherwise you will kill C* performance. The biggest danger of the triggers in their current state is that they are on the write path. In your trigger, you can try to push the mutation asynchronously to ES

Re: Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread Jack Krupansky
otherwise you will kill C* performance. The biggest danger of the triggers in their current state is that they are on the write path. In your trigger, you can try to push the mutation asynchronously to ES but in this case it will mean managing a thread pool and all related issues. Not even

Re: Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread Ryan Svihla
resolved. Ken On Wed, Jan 7, 2015 at 9:05 AM, DuyHai Doan doanduy...@gmail.com wrote: Be very very careful not to perform blocking calls to ElasticSearch in your trigger otherwise you will kill C* performance. The biggest danger of the triggers in their current state is that they are on the write

Re: Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread Asit KAUSHIK
trigger otherwise you will kill C* performance. The biggest danger of the triggers in their current state is that they are on the write path. In your trigger, you can try to push the mutation asynchronously to ES but in this case it will mean managing a thread pool and all related issues. Not even

Re: Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread Robert Coli
trigger. So i wanted your view does a Cassandra Trigger impacts the performance of read/Write of Cassandra. I would not use triggers in production in their current form. =Rob

Re: Are Triggers in Cassandra 2.1.2 performace Hog??

2015-01-07 Thread Jonathan Haddad
+1. Don't use triggers. On Wed, Jan 7, 2015 at 10:49 AM, Robert Coli rc...@eventbrite.com wrote: On Wed, Jan 7, 2015 at 5:40 AM, Asit KAUSHIK asitkaushikno...@gmail.com wrote: We are trying to integrate elasticsearch with Cassandra and as the river plugin uses select * from any table

Re: Semantics of Triggers ( their future)

2014-10-13 Thread Robert Coli
as a hosted service (PaaS). I realize that triggers are still experimental, but this looks like an exciting new feature. Current triggers are very likely to be re-done. Answers to questions about the current implementation are probably not very useful. Your other questions are probably best answered

Semantics of Triggers ( their future)

2014-10-12 Thread Timmy Turner
Information on triggers seems a bit scarce so far. The blog entry on http://www.datastax.com/dev/blog/whats-new-in-cassandra-2-0-prototype-triggers-support mentions them as being usable for maintaining materialized views, since they'll be handled similarly to logged/atomic batches - is that enough

Re: Triggers and their use in data indexing

2014-07-03 Thread Jonathan Haddad
Triggers only execute on the local coordinator. I would also not recommend using them. On Thu, Jul 3, 2014 at 9:58 AM, Robert Coli rc...@eventbrite.com wrote: On Thu, Jul 3, 2014 at 4:41 AM, Bèrto ëd Sèra berto.d.s...@gmail.com wrote: Now the question: is there any way to use triggers so

Re: Triggers and their use in data indexing

2014-07-03 Thread Jonathan Haddad
This is one of the trickier areas of doing multi dc. The current recommendation is to use a separate message queue. If you'd like to see remote triggers, you could fire a JIRA. Get back to the list w/ the ticket #, I'm sure there are others who have similar needs. On Thu, Jul 3, 2014 at 10:04

Logging of triggers

2014-06-03 Thread Joel Samuelsson
I'm testing triggers as part of a project and would like to add some logging to it. I'm using the same log structure as in the trigger example InvertedIndex but can't seem to find any logs. Where would I find the logging? In the system logs or somewhere else? /Joel

Re: Logging of triggers

2014-06-03 Thread Joel Samuelsson
I found now that i logged with a too low log level set so it was filtered from the system log. Logging with a more critical log level made the log messages appear in the system log. /Joel 2014-06-03 16:30 GMT+02:00 Joel Samuelsson samuelsson.j...@gmail.com: I'm testing triggers as part

Re: Are triggers production ready?

2014-01-13 Thread Robert Coli
On Sat, Jan 11, 2014 at 11:40 AM, Vidit Asthana vidit.astha...@gmail.comwrote: I know that triggers are still experimental but I want to know if they are prod ready? If not when will it be. No. Not prod ready is most of what experimental means. =Rob

Re: Are triggers production ready?

2014-01-13 Thread Jacob Rhoden
...@eventbrite.com wrote: On Sat, Jan 11, 2014 at 11:40 AM, Vidit Asthana vidit.astha...@gmail.com wrote: I know that triggers are still experimental but I want to know if they are prod ready? If not when will it be. No. Not prod ready is most of what experimental means. =Rob

Re: Are triggers production ready?

2014-01-13 Thread Robert Coli
On Mon, Jan 13, 2014 at 12:26 PM, Jacob Rhoden jacob.rho...@me.com wrote: I would use them if I *really* needed them *and* had done comprehensive testing with real life usage patterns to ensure nothing unexpected happens. ... *and* were willing to accept the risk that they could completely

Are triggers production ready?

2014-01-11 Thread Vidit Asthana
Hi, I know that triggers are still experimental but I want to know if they are prod ready? If not when will it be.

Fwd: Cassandra Async Triggers as an alternative to Storm?

2013-11-27 Thread Burak Emre
Hello, I’m working on an distributed analytics service that originally uses Storm as an RPC. I thought since Cassandra is already distributed, I may not have to use another RPC system to write data to Cassandra. There are plenty of great ideas in Triggers issue page ( https://issues.apache.org

need help with triggers

2013-10-30 Thread kaveh minooie
Hi everyone I am trying to write a trigger and I am having a hard time figuring out how to extract data from the name field of the columns. I can read the value reletavily easy by getting the abstractype for that column from CFMetadata and use it to decode the value bytebuffer, but due to the

Is it possible to synchronous run Cassandra Triggers?

2013-08-30 Thread yun peng
is actually executed. Or there is anyway to control execution model of Triggers, like turn on synchronous model and asynchronous model. Regards Yun

Re: Coprosessors/Triggers in C*

2013-06-13 Thread Michal Michalski
Romain. On Tue, Jun 11, 2013 at 1:44 AM, Romain HARDOUIN romain.hardo...@urssaf.fr wrote: Not yet but Cassandra 2.0 will provide experimental triggers: https://issues.apache.org/jira/browse/CASSANDRA-1311 Tanya Malik sonichedg...@gmail.com a écrit sur 11/06/2013 04:12:44 : De : Tanya Malik

Re: Coprosessors/Triggers in C*

2013-06-13 Thread Gareth Collins
-functionality On Tue, Jun 11, 2013 at 5:06 AM, Tanya Malik sonichedg...@gmail.com wrote: Thanks Romain. On Tue, Jun 11, 2013 at 1:44 AM, Romain HARDOUIN romain.hardo...@urssaf.fr wrote: Not yet but Cassandra 2.0 will provide experimental triggers: https://issues.apache.org/**jira

Re: Coprosessors/Triggers in C*

2013-06-13 Thread Radim Kolar
Dne 13.6.2013 8:19, Michal Michalski napsal(a): It could be doable to do something when they get converted to tombstone, but I don't think it's the use case you're looking for. actually, this would be good enough for me

Re: Coprosessors/Triggers in C*

2013-06-12 Thread Edward Capriolo
. On Tue, Jun 11, 2013 at 1:44 AM, Romain HARDOUIN romain.hardo...@urssaf.fr wrote: Not yet but Cassandra 2.0 will provide experimental triggers: https://issues.apache.org/jira/browse/CASSANDRA-1311 Tanya Malik sonichedg...@gmail.com a écrit sur 11/06/2013 04:12:44 : De : Tanya Malik

RE: Coprosessors/Triggers in C*

2013-06-11 Thread Romain HARDOUIN
Not yet but Cassandra 2.0 will provide experimental triggers: https://issues.apache.org/jira/browse/CASSANDRA-1311 Tanya Malik sonichedg...@gmail.com a écrit sur 11/06/2013 04:12:44 : De : Tanya Malik sonichedg...@gmail.com A : user@cassandra.apache.org, Date : 11/06/2013 04:13 Objet

Re: Coprosessors/Triggers in C*

2013-06-11 Thread Tanya Malik
Thanks Romain. On Tue, Jun 11, 2013 at 1:44 AM, Romain HARDOUIN romain.hardo...@urssaf.frwrote: Not yet but Cassandra 2.0 will provide experimental triggers: https://issues.apache.org/jira/browse/CASSANDRA-1311 Tanya Malik sonichedg...@gmail.com a écrit sur 11/06/2013 04:12:44 : De

Re: Coprosessors/Triggers in C*

2013-06-11 Thread Edward Capriolo
experimental triggers: https://issues.apache.org/jira/browse/CASSANDRA-1311 Tanya Malik sonichedg...@gmail.com a écrit sur 11/06/2013 04:12:44 : De : Tanya Malik sonichedg...@gmail.com A : user@cassandra.apache.org, Date : 11/06/2013 04:13 Objet : Coprosessors/Triggers in C* Hi

Re: Coprosessors/Triggers in C*

2013-06-11 Thread Gareth Collins
11, 2013 at 1:44 AM, Romain HARDOUIN romain.hardo...@urssaf.fr wrote: Not yet but Cassandra 2.0 will provide experimental triggers: https://issues.apache.org/jira/browse/CASSANDRA-1311 Tanya Malik sonichedg...@gmail.com a écrit sur 11/06/2013 04:12:44 : De : Tanya Malik sonichedg

Coprosessors/Triggers in C*

2013-06-10 Thread Tanya Malik
Hi, Does C* support something like co-processor functionality/triggers to run client-supplied code in the address space of the server?

triggers(newbie)

2012-11-05 Thread davukovi
Hello! I was wondering if someone could help me a bit with triggers in cassandra. I am doing a school project with this DBMS, and i would be very happy if you could send me a simple example/explanation of a trigger. Thank you!! :)

Re: triggers(newbie)

2012-11-05 Thread Edward Capriolo
There are no built-in trigger. Someone has written an aspect oriented piece to do triggers outside of the project. http://brianoneill.blogspot.com/2012/03/cassandra-triggers-for-indexing-and.html On Mon, Nov 5, 2012 at 12:30 PM, davuk...@veleri.hr wrote: Hello! I was wondering if someone

Re: triggers(newbie)

2012-11-05 Thread davukovi
Oh, ok. Thank you for info.! There are no built-in trigger. Someone has written an aspect oriented piece to do triggers outside of the project. http://brianoneill.blogspot.com/2012/03/cassandra-triggers-for-indexing-and.html On Mon, Nov 5, 2012 at 12:30 PM, davuk...@veleri.hr wrote

RE: triggers(newbie)

2012-11-05 Thread Rishabh Agrawal
I don't think that is possible in Cassandra. Others please correct me if I am wrong. Thanks and Regards Rishabh -Original Message- From: davuk...@veleri.hr [mailto:davuk...@veleri.hr] Sent: Monday, November 05, 2012 11:00 PM To: user@cassandra.apache.org Subject: triggers(newbie) Hello

Re: Server Side Logic/Script - Triggers / StoreProc

2012-05-01 Thread Praveen Baratam
: Praveen, We are certainly interested. To get things moving we implemented an add-on for Cassandra to demonstrate the viability (using AOP): https://github.com/hmsonline/cassandra-triggers Right now the implementation executes triggers asynchronously, allowing you to implement

Re: Server Side Logic/Script - Triggers / StoreProc

2012-04-29 Thread Maxim Potekhin
at 9:35 AM, Brian O'Neill boneil...@gmail.com wrote: Praveen, We are certainly interested. To get things moving we implemented an add-on for Cassandra to demonstrate the viability (using AOP): https://github.com/hmsonline/cassandra-triggers Right now the implementation executes triggers

Re: Server Side Logic/Script - Triggers / StoreProc

2012-04-27 Thread Data Craftsman
/cassandra-triggers Right now the implementation executes triggers asynchronously, allowing you to implement a java interface and plugin your own java class that will get called for every insert. Per the discussion on 1311, we intend to extend our proof of concept to be able to invoke scripts

Re: Server Side Logic/Script - Triggers / StoreProc

2012-04-27 Thread Jeffrey Kesselman
On Sun, Apr 22, 2012 at 9:35 AM, Brian O'Neill boneil...@gmail.com wrote: Praveen, We are certainly interested. To get things moving we implemented an add-on for Cassandra to demonstrate the viability (using AOP): https://github.com/hmsonline/cassandra-triggers Right now

Server Side Logic/Script - Triggers / StoreProc

2012-04-22 Thread Praveen Baratam
I found that Triggers are coming in Cassandra 1.2 ( https://issues.apache.org/jira/browse/CASSANDRA-1311) but no mention of any StoreProc like pattern. I know this has been discussed so many times but never met with any initiative. Even Groovy was staged out of the trunk. Cassandra is great

Re: Server Side Logic/Script - Triggers / StoreProc

2012-04-22 Thread Brian O'Neill
Praveen, We are certainly interested. To get things moving we implemented an add-on for Cassandra to demonstrate the viability (using AOP): https://github.com/hmsonline/cassandra-triggers Right now the implementation executes triggers asynchronously, allowing you to implement a java interface

Cassandra Triggers Capability published out to GitHub

2012-03-02 Thread Brian O'Neill
FYI -- http://brianoneill.blogspot.com/2012/03/cassandra-triggers-for-indexing-and.html https://github.com/hmsonline/cassandra-triggers Feedback welcome. Contribution and involvement is even better. ;) -brian -- Brian ONeill Lead Architect, Health Market Science (http

Virgil Moved (and Cassandra-Triggers coming soon)

2012-02-07 Thread Brian O'Neill
-triggers. It is an AOP-based trigger solution that provides a simple trigger/event-log that can be used for data replication and indexing reacting to column family mutations. https://github.com/hmsonline/cassandra-triggers -brian -- Brian ONeill Lead Architect, Health Market Science (http

Triggers?

2012-01-20 Thread Brian O'Neill
Anyone know if there is any activity to deliver triggers? I saw this quote: http://www.readwriteweb.com/cloud/2011/10/cassandra-reaches-10-whats-nex.php Ellis says that he's just starting to think about the post-1.0 world for Cassandra. Two features do come to mind, though, that missed the boat

What triggers hint delivery?

2011-06-15 Thread Terje Marthinussen
Hi, I was looking quickly at source code tonight. As far as I could see from a quick code scan, hint delivery is only triggered as a state change from a node is down to when it enters up state? If this is indeed the case, it would potentially explain why we sometimes have hints on machines which

Re: What triggers hint delivery?

2011-06-15 Thread Jonathan Ellis
On Wed, Jun 15, 2011 at 10:53 AM, Terje Marthinussen tmarthinus...@gmail.com wrote: I was looking quickly at source code tonight. As far as I could see from a quick code scan, hint delivery is only triggered as a state change from a node is down to when it enters up state? Right. If this is

Re: What triggers hint delivery?

2011-06-15 Thread Terje Marthinussen
I suspect a few possibilities: 1. I have not checked, but what happens (in terms of hint delivery) if a node tries to write something but the write times out even if the node is marked as up? 2. I would assume there can be ever so slight variations in how different nodes in the cluster think the

Re: What triggers hint delivery?

2011-06-15 Thread Jonathan Ellis
You're right, those could all cause what you are seeing. We used to have a re-check hourly scheduled task, but took it out because it was very very performance intensive -- at the time, hints were not stored by machine so asking does machine X have any hints required scanning all hints. Should

Re: plugins/triggers/coprocessors

2011-02-16 Thread Jeremy Hanna
Just wanted to let people who follow the user list know that if there is interest in something like plugins, triggers, or coprocessors on the server-side with Cassandra, the ticket to follow or get involved with (code, comments, etc) is CASSANDRA-1311: https://issues.apache.org/jira/browse