Re: Cassandra Triggers

2016-11-09 Thread DuyHai Doan
https://issues.apache.org/jira/browse/CASSANDRA-8844

On Wed, Nov 9, 2016 at 8:34 PM, sat  wrote:

> Hi,
>
> We are doing POC on Cassandra for our business needs. We also need some
> kind of notification when a column/attribute is modified
> (insert/update/delete) of a table.
>
> Thanks for sharing information about CDC. Could you please point us to
> some example of how to implement this in Cassandra 3.9.
>
>
> Thanks and Regards
> A.SathishKumar
>
> On Wed, Nov 9, 2016 at 6:18 AM, DuyHai Doan  wrote:
>
>> They are production ready in the sens that they are fully functional. But
>> using them require a *deep* knowledge of Cassandra Internal Write path and
>> is dangerous because 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  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
Hi,

We are doing POC on Cassandra for our business needs. We also need some
kind of notification when a column/attribute is modified
(insert/update/delete) of a table.

Thanks for sharing information about CDC. Could you please point us to some
example of how to implement this in Cassandra 3.9.


Thanks and Regards
A.SathishKumar

On Wed, Nov 9, 2016 at 6:18 AM, DuyHai Doan  wrote:

> They are production ready in the sens that they are fully functional. But
> using them require a *deep* knowledge of Cassandra Internal Write path and
> is dangerous because 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  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 DuyHai Doan
They are production ready in the sens that they are fully functional. But
using them require a *deep* knowledge of Cassandra Internal Write path and
is dangerous because 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  wrote:

> 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
Thanks Vladimir!! I did that and it's working good now. It is taking new
location when I reloadtriggers. Really appreciate your support!

Regards
Sudheer

On Thursday, October 13, 2016, Vladimir Yudovin 
wrote:

> Yes, pass this argument to bin/cassandra script:
> *bin/cassandra -Djava.io.tmpdir=/path/to/tmpdir*
>
>
> Best regards, Vladimir Yudovin,
>
>
> *Winguzone  - Hosted Cloud Cassandra on
> Azure and SoftLayer.Launch your cluster in minutes.*
>
>
>  On Thu, 13 Oct 2016 00:36:35 -0400*sudheer k
>  >* wrote 
>
> Sorry for the confusion. I didn't see that command line arguments you told
> in the mail. So, this arguments needs to be passed when I start Cassandra?
>
> Regards
> Sudheer
>
> On Thursday, October 13, 2016, sudheer k  > wrote:
>
>
>
> --
> --
> Regards
> Sudheer
>
> Appreciate your reply Vladimir! Is this the configuration I need to
> include in Cassandra-env.sh file?
>
> Regards
> Sudheer
>
> On Thursday, October 13, 2016, Vladimir Yudovin 
> wrote:
>
>
> Hi,
>
> where can I change that default location /tmp/lib it is using for creating
> the jar files?
> Cassandra uses Java property java.io.tmpdir as temporary folder. By
> default it's /tmp but can be changed with command line arguments:
> *cassandra -Djava.io.tmpdir=/path/to/tmpdir*
>
> Best regards, Vladimir Yudovin,
>
> *Winguzone  - Hosted Cloud Cassandra on
> Azure and SoftLayer.Launch your cluster in minutes.*
>
>
>  On Wed, 12 Oct 2016 23:54:58 -0400*sudheer k
> * 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/triggers folder in Cassandra, restarted the Cassandra service and
> created a trigger in CQLSH. Everything was working good as expected.
>
> 2) Recently we started getting the below error in Cassandra logs saying
> trigger.jar is missing in /tmp/lib directory folder.
>
> ServerError: 
>
> 3) We thought that the jar is corrupted somehow and reloaded the triggers
> again by placing the newly created jar and it worked fine.
>
> 4) We saw the similar error in other environments and saw that /tmp/lib
> folder is not present in the server as our open stack servers have a
> retention policy of 15 days and after that it deletes the /tmp/ files. As
> the /tmp/ files are deleted, Cassandra is still pointing to the deleted
> trigger.jar and not allowing the application to insert the records into the
> table and throwing the errors.
>
> 5) So we came to know like whenever we reloadtriggers, it is creating a
> new jar file in /tmp/lib/ directory as *cassandra-8754700968157790389.jar
> *(numbers keep changing) and using this jar file for reference but not
> using the jar that we placed in /conf/triggers folder.
>
> 6) I just need to know where can I change that default location /tmp/lib
> it is using for creating the jar files?
> Whether I can change that directory location to something else and use for
> my Cassandra servers alone?
> If there is any other solution, it is highly appreciated.
>
> Note: Our management doesn't want to change the /tmp/ directory retention
> policy as it is common for all our servers in all the environments.
>
> --
> Regards
> Sudheer
>
>
>
>
> --
> --
> Regards
> Sudheer
>
>
>

-- 
--
Regards
Sudheer


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

2016-10-12 Thread Vladimir Yudovin
Yes, pass this argument to bin/cassandra script: 

bin/cassandra -Djava.io.tmpdir=/path/to/tmpdir





Best regards, Vladimir Yudovin, 

Winguzone - Hosted Cloud Cassandra on Azure and SoftLayer.
Launch your cluster in minutes.






 On Thu, 13 Oct 2016 00:36:35 -0400sudheer k 
sudheer.hdp...@gmail.com wrote 




Sorry for the confusion. I didn't see that command line arguments you told in 
the mail. So, this arguments needs to be passed when I start Cassandra?



Regards

Sudheer



On Thursday, October 13, 2016, sudheer k sudheer.hdp...@gmail.com wrote:








-- 

--

Regards

Sudheer







Appreciate your reply Vladimir! Is this the configuration I need to include in 
Cassandra-env.sh file?



Regards

Sudheer



On Thursday, October 13, 2016, Vladimir Yudovin vla...@winguzone.com 
wrote:



Hi,



where can I change that default location /tmp/lib it is using for creating the 
jar files? 

Cassandra uses Java property java.io.tmpdir as temporary folder. By default 
it's /tmp but can be changed with command line arguments:

cassandra -Djava.io.tmpdir=/path/to/tmpdir



Best regards, 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) 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 as expected.



2) Recently we started getting the below error in Cassandra logs saying 
trigger.jar is missing in /tmp/lib directory folder.



ServerError: ErrorMessage code= [Server error] 
message="com.sun.jersey.spi.service.ServiceConfigurationError: 
com.sun.jersey.spi.inject.InjectableProvider: : java.io.FileNotFoundException: 
/tmp/lib/cassandra-8906616690931579554.jar (No such file or directory)"



3) We thought that the jar is corrupted somehow and reloaded the triggers again 
by placing the newly created jar and it worked fine.



4) We saw the similar error in other environments and saw that /tmp/lib folder 
is not present in the server as our open stack servers have a retention policy 
of 15 days and after that it deletes the /tmp/ files. As the /tmp/ files are 
deleted, Cassandra is still pointing to the deleted trigger.jar and not 
allowing the application to insert the records into the table and throwing the 
errors.



5) So we came to know like whenever we reloadtriggers, it is creating a new jar 
file in /tmp/lib/ directory as cassandra-8754700968157790389.jar (numbers keep 
changing) and using this jar file for reference but not using the jar that we 
placed in /conf/triggers folder.



6) I just need to know where can I change that default location /tmp/lib it is 
using for creating the jar files? 

Whether I can change that directory location to something else and use for my 
Cassandra servers alone? 

If there is any other solution, it is highly appreciated.



Note: Our management doesn't want to change the /tmp/ directory retention 
policy as it is common for all our servers in all the environments.




--

Regards

Sudheer




















-- 

--

Regards

Sudheer












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

2016-10-12 Thread sudheer k
Sorry for the confusion. I didn't see that command line arguments you told
in the mail. So, this arguments needs to be passed when I start Cassandra?

Regards
Sudheer

On Thursday, October 13, 2016, sudheer k  wrote:

> Appreciate your reply Vladimir! Is this the configuration I need to
> include in Cassandra-env.sh file?
>
> Regards
> Sudheer
>
> On Thursday, October 13, 2016, Vladimir Yudovin  > wrote:
>
>> Hi,
>>
>> where can I change that default location /tmp/lib it is using for
>> creating the jar files?
>> Cassandra uses Java property java.io.tmpdir as temporary folder. By
>> default it's /tmp but can be changed with command line arguments:
>> *cassandra -Djava.io.tmpdir=/path/to/tmpdir*
>>
>> Best regards, Vladimir Yudovin,
>>
>>
>> *Winguzone  - Hosted Cloud Cassandra on
>> Azure and SoftLayer.Launch your cluster in minutes.*
>>
>>
>>  On Wed, 12 Oct 2016 23:54:58 -0400*sudheer k
>> * 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/triggers folder in Cassandra, restarted the Cassandra service and
>> created a trigger in CQLSH. Everything was working good as expected.
>>
>> 2) Recently we started getting the below error in Cassandra logs saying
>> trigger.jar is missing in /tmp/lib directory folder.
>>
>> ServerError: 
>>
>> 3) We thought that the jar is corrupted somehow and reloaded the triggers
>> again by placing the newly created jar and it worked fine.
>>
>> 4) We saw the similar error in other environments and saw that /tmp/lib
>> folder is not present in the server as our open stack servers have a
>> retention policy of 15 days and after that it deletes the /tmp/ files. As
>> the /tmp/ files are deleted, Cassandra is still pointing to the deleted
>> trigger.jar and not allowing the application to insert the records into the
>> table and throwing the errors.
>>
>> 5) So we came to know like whenever we reloadtriggers, it is creating a
>> new jar file in /tmp/lib/ directory as *cassandra-8754700968157790389.jar
>> *(numbers keep changing) and using this jar file for reference but not
>> using the jar that we placed in /conf/triggers folder.
>>
>> 6) I just need to know where can I change that default location /tmp/lib
>> it is using for creating the jar files?
>> Whether I can change that directory location to something else and use
>> for my Cassandra servers alone?
>> If there is any other solution, it is highly appreciated.
>>
>> Note: Our management doesn't want to change the /tmp/ directory retention
>> policy as it is common for all our servers in all the environments.
>>
>> --
>> Regards
>> Sudheer
>>
>>
>>
>
> --
> --
> Regards
> Sudheer
>
>

-- 
--
Regards
Sudheer


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

2016-10-12 Thread sudheer k
Appreciate your reply Vladimir! Is this the configuration I need to
include in Cassandra-env.sh file?

Regards
Sudheer

On Thursday, October 13, 2016, Vladimir Yudovin 
wrote:

> Hi,
>
> where can I change that default location /tmp/lib it is using for creating
> the jar files?
> Cassandra uses Java property java.io.tmpdir as temporary folder. By
> default it's /tmp but can be changed with command line arguments:
> *cassandra -Djava.io.tmpdir=/path/to/tmpdir*
>
> Best regards, Vladimir Yudovin,
>
>
> *Winguzone  - Hosted Cloud Cassandra on
> Azure and SoftLayer.Launch your cluster in minutes.*
>
>
>  On Wed, 12 Oct 2016 23:54:58 -0400*sudheer k
>  >* 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/triggers folder in Cassandra, restarted the Cassandra service and
> created a trigger in CQLSH. Everything was working good as expected.
>
> 2) Recently we started getting the below error in Cassandra logs saying
> trigger.jar is missing in /tmp/lib directory folder.
>
> ServerError:  message="com.sun.jersey.spi.service.ServiceConfigurationError:
> com.sun.jersey.spi.inject.InjectableProvider: :
> java.io.FileNotFoundException: /tmp/lib/cassandra-8906616690931579554.jar
> (No such file or directory)">
>
> 3) We thought that the jar is corrupted somehow and reloaded the triggers
> again by placing the newly created jar and it worked fine.
>
> 4) We saw the similar error in other environments and saw that /tmp/lib
> folder is not present in the server as our open stack servers have a
> retention policy of 15 days and after that it deletes the /tmp/ files. As
> the /tmp/ files are deleted, Cassandra is still pointing to the deleted
> trigger.jar and not allowing the application to insert the records into the
> table and throwing the errors.
>
> 5) So we came to know like whenever we reloadtriggers, it is creating a
> new jar file in /tmp/lib/ directory as *cassandra-8754700968157790389.jar
> *(numbers keep changing) and using this jar file for reference but not
> using the jar that we placed in /conf/triggers folder.
>
> 6) I just need to know where can I change that default location /tmp/lib
> it is using for creating the jar files?
> Whether I can change that directory location to something else and use for
> my Cassandra servers alone?
> If there is any other solution, it is highly appreciated.
>
> Note: Our management doesn't want to change the /tmp/ directory retention
> policy as it is common for all our servers in all the environments.
>
> --
> Regards
> Sudheer
>
>
>

-- 
--
Regards
Sudheer


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

2016-10-12 Thread Vladimir Yudovin
Hi,



where can I change that default location /tmp/lib it is using for creating the 
jar files? 

Cassandra uses Java property java.io.tmpdir as temporary folder. By default 
it's /tmp but can be changed with command line arguments:

cassandra -Djava.io.tmpdir=/path/to/tmpdir



Best regards, 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) 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 as expected.



2) Recently we started getting the below error in Cassandra logs saying 
trigger.jar is missing in /tmp/lib directory folder.



ServerError: ErrorMessage code= [Server error] 
message="com.sun.jersey.spi.service.ServiceConfigurationError: 
com.sun.jersey.spi.inject.InjectableProvider: : java.io.FileNotFoundException: 
/tmp/lib/cassandra-8906616690931579554.jar (No such file or directory)"



3) We thought that the jar is corrupted somehow and reloaded the triggers again 
by placing the newly created jar and it worked fine.



4) We saw the similar error in other environments and saw that /tmp/lib folder 
is not present in the server as our open stack servers have a retention policy 
of 15 days and after that it deletes the /tmp/ files. As the /tmp/ files are 
deleted, Cassandra is still pointing to the deleted trigger.jar and not 
allowing the application to insert the records into the table and throwing the 
errors.



5) So we came to know like whenever we reloadtriggers, it is creating a new jar 
file in /tmp/lib/ directory as cassandra-8754700968157790389.jar (numbers keep 
changing) and using this jar file for reference but not using the jar that we 
placed in /conf/triggers folder.



6) I just need to know where can I change that default location /tmp/lib it is 
using for creating the jar files? 

Whether I can change that directory location to something else and use for my 
Cassandra servers alone? 

If there is any other solution, it is highly appreciated.



Note: Our management doesn't want to change the /tmp/ directory retention 
policy as it is common for all our servers in all the environments.




--

Regards

Sudheer
















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...@indiamart.com wrote:

 Yes Asit you can share it with me, let c if we can implement with our
 requirement.


 Regards:
 Rahul Bhardwaj

 On Mon, Mar 23, 2015 at 1:43 PM, Asit KAUSHIK asitkaushikno...@gmail.com
 wrote:

 Hi Rahul,

 i have created a trigger which inserts a default value into the table.
 But everyone are against using it. As its an external code which may be
 uncompatible in future releases. Its was a chnallenge as all the examples
 are of old 2.0.X veresion where RowMutable package is used which is
 discontinued in the later releases.

 If you still want the code i can give you . The application is same 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 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 updates on
 this and more: https://plus.google.com/+indiamart
 https://www.facebook.com/IndiaMART https://twitter.com/IndiaMART
 Mobile Channel:
 https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=668561641mt=8
 https://play.google.com/store/apps/details?id=com.indiamart.m
 http://m.indiamart.com/

 https://www.youtube.com/watch?v=DzORNbeSXN8list=PL2o4J51MqpL0mbue6kzDa6eymLVUXtlR1index=2
 Watch how IndiaMART Maximiser helped Mr. Khanna expand his business.
 kyunki Kaam Yahin Banta Hai
 https://www.youtube.com/watch?v=Q9fZ5ILY3w8feature=youtu.be!!!





 Follow IndiaMART.com http://www.indiamart.com for latest updates on
 this and more: https://plus.google.com/+indiamart
 https://www.facebook.com/IndiaMART https://twitter.com/IndiaMART
 Mobile Channel:
 https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=668561641mt=8
 https://play.google.com/store/apps/details?id=com.indiamart.m
 http://m.indiamart.com/

 https://www.youtube.com/watch?v=DzORNbeSXN8list=PL2o4J51MqpL0mbue6kzDa6eymLVUXtlR1index=2
 Watch how IndiaMART Maximiser helped Mr. Khanna expand his business.
 kyunki Kaam Yahin Banta Hai
 https://www.youtube.com/watch?v=Q9fZ5ILY3w8feature=youtu.be!!!



InvertedIndex.java
Description: Binary data


Re: cassandra triggers

2015-03-23 Thread Jason Wee
okay, if you leave a comment in the blog on what is breaking and what
cassandra, I can take a look at the code when I get the time. :-)

jason

On Mon, Mar 23, 2015 at 8:15 PM, Asit KAUSHIK asitkaushikno...@gmail.com
wrote:

 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...@indiamart.com wrote:

 Yes Asit you can share it with me, let c if we can implement with our
 requirement.


 Regards:
 Rahul Bhardwaj

 On Mon, Mar 23, 2015 at 1:43 PM, Asit KAUSHIK asitkaushikno...@gmail.com
  wrote:

 Hi Rahul,

 i have created a trigger which inserts a default value into the table.
 But everyone are against using it. As its an external code which may be
 uncompatible in future releases. Its was a chnallenge as all the examples
 are of old 2.0.X veresion where RowMutable package is used which is
 discontinued in the later releases.

 If you still want the code i can give you . The application is same 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 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 updates on
 this and more: https://plus.google.com/+indiamart
 https://www.facebook.com/IndiaMART https://twitter.com/IndiaMART
 Mobile Channel:
 https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=668561641mt=8
 https://play.google.com/store/apps/details?id=com.indiamart.m
 http://m.indiamart.com/

 https://www.youtube.com/watch?v=DzORNbeSXN8list=PL2o4J51MqpL0mbue6kzDa6eymLVUXtlR1index=2
 Watch how IndiaMART Maximiser helped Mr. Khanna expand his business.
 kyunki Kaam Yahin Banta Hai
 https://www.youtube.com/watch?v=Q9fZ5ILY3w8feature=youtu.be!!!





 Follow IndiaMART.com http://www.indiamart.com for latest updates on
 this and more: https://plus.google.com/+indiamart
 https://www.facebook.com/IndiaMART https://twitter.com/IndiaMART
 Mobile Channel:
 https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=668561641mt=8
 https://play.google.com/store/apps/details?id=com.indiamart.m
 http://m.indiamart.com/

 https://www.youtube.com/watch?v=DzORNbeSXN8list=PL2o4J51MqpL0mbue6kzDa6eymLVUXtlR1index=2
 Watch how IndiaMART Maximiser helped Mr. Khanna expand his business.
 kyunki Kaam Yahin Banta Hai
 https://www.youtube.com/watch?v=Q9fZ5ILY3w8feature=youtu.be!!!





Re: cassandra triggers

2015-03-23 Thread Rahul Bhardwaj
Yes Asit you can share it with me, let c if we can implement with our
requirement.


Regards:
Rahul Bhardwaj

On Mon, Mar 23, 2015 at 1:43 PM, Asit KAUSHIK asitkaushikno...@gmail.com
wrote:

 Hi Rahul,

 i have created a trigger which inserts a default value into the table. But
 everyone are against using it. As its an external code which may be
 uncompatible in future releases. Its was a chnallenge as all the examples
 are of old 2.0.X veresion where RowMutable package is used which is
 discontinued in the later releases.

 If you still want the code i can give you . The application is same 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 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 updates on
 this and more: https://plus.google.com/+indiamart
 https://www.facebook.com/IndiaMART https://twitter.com/IndiaMART
 Mobile Channel:
 https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=668561641mt=8
 https://play.google.com/store/apps/details?id=com.indiamart.m
 http://m.indiamart.com/

 https://www.youtube.com/watch?v=DzORNbeSXN8list=PL2o4J51MqpL0mbue6kzDa6eymLVUXtlR1index=2
 Watch how IndiaMART Maximiser helped Mr. Khanna expand his business.
 kyunki Kaam Yahin Banta Hai
 https://www.youtube.com/watch?v=Q9fZ5ILY3w8feature=youtu.be!!!




-- 

Follow IndiaMART.com http://www.indiamart.com for latest updates on this 
and more: https://plus.google.com/+indiamart 
https://www.facebook.com/IndiaMART https://twitter.com/IndiaMART Mobile 
Channel: 
https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=668561641mt=8
 
https://play.google.com/store/apps/details?id=com.indiamart.m 
http://m.indiamart.com/
https://www.youtube.com/watch?v=DzORNbeSXN8list=PL2o4J51MqpL0mbue6kzDa6eymLVUXtlR1index=2
Watch how IndiaMART Maximiser helped Mr. Khanna expand his business. kyunki 
Kaam 
Yahin Banta Hai 
https://www.youtube.com/watch?v=Q9fZ5ILY3w8feature=youtu.be!!!


Re: cassandra triggers

2015-03-23 Thread Asit KAUSHIK
Hi Rahul,

i have created a trigger which inserts a default value into the table. But
everyone are against using it. As its an external code which may be
uncompatible in future releases. Its was a chnallenge as all the examples
are of old 2.0.X veresion where RowMutable package is used which is
discontinued in the later releases.

If you still want the code i can give you . The application is same 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 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 updates on
 this and more: https://plus.google.com/+indiamart
 https://www.facebook.com/IndiaMART https://twitter.com/IndiaMART
 Mobile Channel:
 https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=668561641mt=8
 https://play.google.com/store/apps/details?id=com.indiamart.m
 http://m.indiamart.com/

 https://www.youtube.com/watch?v=DzORNbeSXN8list=PL2o4J51MqpL0mbue6kzDa6eymLVUXtlR1index=2
 Watch how IndiaMART Maximiser helped Mr. Khanna expand his business.
 kyunki Kaam Yahin Banta Hai
 https://www.youtube.com/watch?v=Q9fZ5ILY3w8feature=youtu.be!!!


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 in production for any real work.

=Rob