Re: [SR-Users] DB_Cassandra + UserBlacklist = ERROR

2016-05-12 Thread SamyGo
Hi again, Yes read that thread from 1&1 guy as well. I believe yes I have thrift 0.6.1 - Lets see of upgrading the thrift has any impact. I opened a bug with github since the error seems to be coming from inside the dbcassa_table.c file entirely irrelevant to the other libraries. Regards, Sammy

Re: [SR-Users] DB_Cassandra + UserBlacklist = ERROR

2016-05-12 Thread Daniel-Constantin Mierla
Hello, perhaps someone needs to dive in the code of db_cassandra. Not long ago, there was a discussion saying that the module is using an old lib version and may not actually work. There were exposed plans to eventually update it. Are you using the old cassandra lib version? Cheers, Daniel On 1

Re: [SR-Users] db_cassandra status and plans

2016-03-31 Thread Andreas Granig
Hi Lucian, On 03/31/2016 01:36 PM, Lucian Balaceanu wrote: > At 1&1 we actually haven't used db_cassandra, but were aware of some of > its shortcomings (e.g. thrift interface). > Do you consider Cassandra is stable and easy enough to maintain so as to > use it as usrloc back-end? Are you > also co

Re: [SR-Users] db_cassandra status and plans

2016-03-31 Thread Lucian Balaceanu
Hi guys, At 1&1 we actually haven't used db_cassandra, but were aware of some of its shortcomings (e.g. thrift interface). Do you consider Cassandra is stable and easy enough to maintain so as to use it as usrloc back-end? Are you also considering other alternatives? Have a nice day, Lucian

Re: [SR-Users] db_cassandra status and plans

2016-03-31 Thread Daniel-Constantin Mierla
Hello Andreas, On 31/03/16 12:57, Andreas Granig wrote: > Hi Daniel, > > On 03/31/2016 12:45 PM, Daniel-Constantin Mierla wrote: >> I haven't used Cassandra at all, maybe some of the devs at 1&1 can share >> if they have any plans or usage stats for it, being the initial >> developers of the modul

Re: [SR-Users] db_cassandra status and plans

2016-03-31 Thread Andreas Granig
Hi Daniel, On 03/31/2016 12:45 PM, Daniel-Constantin Mierla wrote: > I haven't used Cassandra at all, maybe some of the devs at 1&1 can share > if they have any plans or usage stats for it, being the initial > developers of the module. Let's see if someone chimes in. Not sure if Anca is still inv

Re: [SR-Users] db_cassandra status and plans

2016-03-31 Thread Daniel-Constantin Mierla
Hello, I haven't used Cassandra at all, maybe some of the devs at 1&1 can share if they have any plans or usage stats for it, being the initial developers of the module. For me it is ok to introduce a new module as well, the old one can be removed afterwards if the new one overtakes it in feature

Re: [SR-Users] db_cassandra

2012-08-24 Thread Boudewyn Ligthart
(OpenSER) and SIP Express Router (SER) - Users Mailing List Subject: Re: [SR-Users] db_cassandra Hi, Kamailio now, connects to Cassandra ok. However the query against the column family does not yield any results. Followed the docs to only create the column family inside the keyspace. >From log:

Re: [SR-Users] db_cassandra

2012-08-21 Thread Boudewyn Ligthart
) => (column=password, value=pass123, timestamp=1345563765514000) Thanks, Bou From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Anca Vamanu Sent: 14 August 2012 14:53 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] db_cassandr

Re: [SR-Users] db_cassandra

2012-08-15 Thread Boudewyn Ligthart
Thanks again, Anca Bou From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Anca Vamanu Sent: 14 August 2012 14:53 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] db_cassandra Hi, If you are using cassandra-cli you can fill in the

Re: [SR-Users] db_cassandra

2012-08-14 Thread Anca Vamanu
ts.sip-router.org] *On Behalf Of *Anca Vamanu *Sent:* 14 August 2012 13:39 *To:* sr-users@lists.sip-router.org *Subject:* Re: [SR-Users] db_cassandra Hi, I tried compiling the module with the latest 3.1 from git and indeed it did not compile initially. This very simple patch that is attached

Re: [SR-Users] db_cassandra

2012-08-14 Thread Boudewyn Ligthart
From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Anca Vamanu Sent: 14 August 2012 13:39 To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] db_cassandra Hi, I tried compiling the module with the latest 3.1 from git and indeed it did

Re: [SR-Users] db_cassandra

2012-08-14 Thread Anca Vamanu
Hi, I tried compiling the module with the latest 3.1 from git and indeed it did not compile initially. This very simple patch that is attached was needed. There were some problems with implicit casts. I see that you are talking about 3.1.1 version, I have not tried with this exact version.

Re: [SR-Users] db_cassandra

2012-01-23 Thread David
Amazing. I will check Thank You! On 1/23/12 11:46 AM, Anca Vamanu wrote: Hi David, I have just committed an extension of the module to allow queries without any condition (this is what domain module did and it did not work). I have tested myself with domain module and it was ok. Update your

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
Hi David, I have just committed an extension of the module to allow queries without any condition (this is what domain module did and it did not work). I have tested myself with domain module and it was ok. Update your code and check it out. Regards, Anca On 01/23/2012 03:16 PM, David wrot

Re: [SR-Users] db_cassandra

2012-01-23 Thread David
Still seeing this message. I have added a domain to cassandra to verify the data is there. 0(27209) DEBUG: db_cassandra [dbcassa_table.c:461]: found dbname=openser, table=version 0(27209) DEBUG: db_cassandra [dbcassa_base.cpp:350]: query col = table_name 0(27209) DEBUG: db_cassandra [dbcas

Re: [SR-Users] db_cassandra

2012-01-23 Thread David
Yes, I should of mentioned this. I did make that change. I am not sure it still works. I am also going to go to the office now. So I will check when I get to work. But you think this should be supported? Thanks. On 1/23/12 8:08 AM, Anca Vamanu wrote: On 01/23/2012 02:58 PM, David wrote:

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
On 01/23/2012 02:58 PM, David wrote: domain(string) last_modified(timestamp) domain There is a problem in this schema: last_modified should not be of type timestamp, but int. The type timestamp has a special meaning in cassandra, you should use it only for columns that have the meaning of exp

Re: [SR-Users] db_cassandra

2012-01-23 Thread David
domain(string) last_modified(timestamp) domain On 1/23/12 7:45 AM, Anca Vamanu wrote: Hi David, How does you your table schema file for domain look like? I will try myself also with domain module when I have some time. Regards, Anca On 01/23/2012 02:23 PM, David wrote: I know that it does

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
Hi David, How does you your table schema file for domain look like? I will try myself also with domain module when I have some time. Regards, Anca On 01/23/2012 02:23 PM, David wrote: I know that it does not claim to support the "domain" module. I am just posting the output in case there is

Re: [SR-Users] db_cassandra

2012-01-23 Thread David
I know that it does not claim to support the "domain" module. I am just posting the output in case there is something I can do to make it work. 0(22484) DEBUG: db_cassandra [dbcassa_base.cpp:570]: query table=domain 0(22484) DEBUG: db_cassandra [dbcassa_table.c:461]: found dbname=openser, ta

Re: [SR-Users] db_cassandra

2012-01-23 Thread Anca Vamanu
Hi David, As mentioned in the documentation[1], the module is compatible with thrift library version 0.6.1. [1] http://sip-router.org/docbook/sip-router/branch/master/modules/db_cassandra/db_cassandra.html Regards, Anca On 01/22/2012 09:16 AM, David wrote: Using thrift/0.8.0/thrift-0.8.