Re: Cassandra remove column using thrift

2013-11-01 Thread Jayadev Jayaraman
Hey guys, False alarm, sorry about that. Our column-names are byte-concatenations of short integers and we had been constructing the column names wrongly before attempting a delete. We fixed the problem and we've been able to delete the columns without issue. On Fri, Nov 1, 2013 at 4:19 PM, Robe

Re: Cassandra remove column using thrift

2013-11-01 Thread Robert Coli
On Fri, Nov 1, 2013 at 8:15 AM, Suruchi Deodhar < suruchi.deod...@generalsentiment.com> wrote: > I provide the timestamp as the current time and > consistency_level=ConsistencyLevel.ALL. > > My questions wrt this are: > 1. Is there a log where I can check whether the remove command registered > su

Cassandra remove column using thrift

2013-11-01 Thread Suruchi Deodhar
Hello folks, I have a couple of questions regarding deletion of columns from Cassandra using thrift. I am trying to remove a column using the thrift API call - remove() defined as below. void remove(1:required binary key, 2:required ColumnPath column_path, 3:required

Re: error when creating column family using cql3 and persisting data using thrift

2013-01-17 Thread aaron morton
dra Developer New Zealand @aaronmorton http://www.thelastpickle.com On 17/01/2013, at 8:13 PM, Kuldeep Mishra wrote: > Hi Aaron, > I am using thrift client. > > Here is column family creation script:- > ``` > Strin

Re: error when creating column family using cql3 and persisting data using thrift

2013-01-16 Thread Kuldeep Mishra
Hi Aaron, I am using thrift client. Here is column family creation script:- ``` String colFamily = "CREATE COLUMNFAMILY users (key varchar PRIMARY KEY,full_name varchar, birth_date int,state varchar)"; conn.execute_

Re: error when creating column family using cql3 and persisting data using thrift

2013-01-16 Thread aaron morton
sday, January 15, 2013 10:29 AM > To: > Subject: error when creating column family using cql3 and persisting data > using thrift > > Hi, > I am facing following problem, when creating column family using cql3 and > trying to persist data using thrift 1.2.0 > in cassandra-1.

Re: error when creating column family using cql3 and persisting data using thrift

2013-01-15 Thread James Schappet
I also saw this while testing the https://github.com/boneill42/naughty-or-nice example project. --Jimmy From: Kuldeep Mishra Reply-To: Date: Tuesday, January 15, 2013 10:29 AM To: Subject: error when creating column family using cql3 and persisting data using thrift Hi, I am facing

Re: Removing a counter columns using Thrift interface

2012-06-26 Thread Patrik Modesto
On Mon, Jun 25, 2012 at 9:28 AM, Sylvain Lebresne wrote: > On Mon, Jun 25, 2012 at 9:06 AM, Patrik Modesto > wrote: >> I'm used to use Mutation for everything, so the first thing I tried >> was Deletion on Counter column. Well, nothing happened. No error and >> the Counter column was still there.

Re: Removing a counter columns using Thrift interface

2012-06-25 Thread Sylvain Lebresne
On Mon, Jun 25, 2012 at 9:06 AM, Patrik Modesto wrote: > I'm used to use Mutation for everything, so the first thing I tried > was Deletion on Counter column. Well, nothing happened. No error and > the Counter column was still there. That shouldn't happen. > The second try was the remove_counter

Removing a counter columns using Thrift interface

2012-06-25 Thread Patrik Modesto
Hi, I was playing with Counters in Cassandra 1.0.10 and I see a behaviour that I didn't expect. It's about removing a Counter column. I'm used to use Mutation for everything, so the first thing I tried was Deletion on Counter column. Well, nothing happened. No error and the Counter column was sti

Re: Using Thrift

2012-04-02 Thread Hari Prasad Siripuram
I faced the same issue: You can find the similar issue here. http://stackoverflow.com/questions/8370365/debugging-bizarre-spring-slf4j-jar-issue Also, Spring community is acknowledging on the SLF4J Issue here (commons-logging issue): http://static.springsource.org/spring/docs/3.0.x/spring-framewo

Re: Using Thrift

2012-04-02 Thread aaron morton
I would recommend starting with a higher level client like Hector or Astyanax http://wiki.apache.org/cassandra/ClientOptions They have *a lot* of features and will make it easier to focus on learning how to use Cassandra. Then when you know what you like or do not like about the existing client

Re: Using Thrift

2012-04-02 Thread Dave Brosius
fine slf4j files in distribution. So I downloaded them can you help me how to configure it. *From:*Dave Brosius [mailto:dbros...@mebigfatguy.com] *Sent:* Monday, April 02, 2012 6:28 PM *To:* user@cassandra.apache.org *Subject:* Re: Using Thrift For a thrift client, you need the following jars

RE: Using Thrift

2012-04-02 Thread Sasha Dolgy
] > *Sent:* Monday, April 02, 2012 6:28 PM > *To:* user@cassandra.apache.org > *Subject:* Re: Using Thrift > > > > For a thrift client, you need the following jars at a minimum > > apache-cassandra-clientutil-*.jar > apache-cassandra-thrift-*.jar > libthrift-*.jar >

RE: Using Thrift

2012-04-02 Thread Rishabh Agrawal
I didn't fine slf4j files in distribution. So I downloaded them can you help me how to configure it. From: Dave Brosius [mailto:dbros...@mebigfatguy.com] Sent: Monday, April 02, 2012 6:28 PM To: user@cassandra.apache.org Subject: Re: Using Thrift For a thrift client, you need the following

Re: Using Thrift

2012-04-02 Thread Dave Brosius
suggestions *From:*Rishabh Agrawal *Sent:* Monday, April 02, 2012 4:42 PM *To:* user@cassandra.apache.org *Subject:* Using Thrift Hello, I have just started exploring Cassandra from java side and using wish to use thrift as my api. The problem is whenever is I try to compile my java code I

Re: Problems using Thrift API in C

2011-08-04 Thread aaron morton
Cassandra 0.8 uses Thrift 0.6+ If you are having problems using thrift 0.6 send over the error. Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 5 Aug 2011, at 03:08, Konstantin Naryshkin wrote: > Rafael: Try using the lat

Re: Problems using Thrift API in C

2011-08-04 Thread Konstantin Naryshkin
Rafael: Try using the latest version of Thrift (0.7) it seems that older versions cannot talk to Cassandra properly. - Original Message - From: "Rafael Almeida" To: user@cassandra.apache.org Sent: Thursday, August 4, 2011 1:53:20 PM Subject: Re: Problems using Thrif

Re: Problems using Thrift API in C

2011-08-04 Thread Rafael Almeida
- Original Message - > From: Konstantin Naryshkin > To: user@cassandra.apache.org > Cc: > Sent: Thursday, August 4, 2011 10:36 AM > Subject: Re: Problems using Thrift API in C > > I have had similar issues when I generated Cassandra for Erlang. It seems > t

Re: Problems using Thrift API in C

2011-08-04 Thread Konstantin Naryshkin
I have had similar issues when I generated Cassandra for Erlang. It seems that Thrift 0.6.1 (the latest stable version) does not work with Cassandra. Using Thrift 0.7 does. I had issues where it would give me run time errors when trying to send an insert (it would not serialize correctly

Re: Problems using Thrift API in C

2011-08-01 Thread Aleksandrs Saveljevs
for more details). Because Zabbix is written in C, we are considering using Thrift API in C, too. However, we are running into problems trying to get even the basic code work. Consider the attached source code. This is essentially a rewrite of the first part of the C++ example

Re: Problems using Thrift API in C

2011-07-29 Thread ruslan usifov
or > more details). Because Zabbix is written in C, we are considering using > Thrift API in C, too. > > However, we are running into problems trying to get even the basic code > work. Consider the attached source code. This is essentially a rewrite of > the first part of the C++ exa

Re: Problems using Thrift API in C

2011-07-29 Thread Aleksandrs Saveljevs
12:29 PM, Aleksandrs Saveljevs wrote: Dear all, We are considering using Cassandra for storing gathered data in Zabbix (see https://support.zabbix.com/browse/ZBXNEXT-844 for more details). Because Zabbix is written in C, we are considering using Thrift API in C, too. However, we are running into

Re: Problems using Thrift API in C

2011-07-28 Thread Eric Tamme
+ example, it passes this step successfully. Does anybody know where the problem is? We are using Thrift 0.6.1 and Cassandra 0.8.1. I didn't know that there were C bindings for thrift with cassandra. We just did some extern stuff and got the C++ bindings to work with our C application. -Eric

Problems using Thrift API in C

2011-07-28 Thread Aleksandrs Saveljevs
Dear all, We are considering using Cassandra for storing gathered data in Zabbix (see https://support.zabbix.com/browse/ZBXNEXT-844 for more details). Because Zabbix is written in C, we are considering using Thrift API in C, too. However, we are running into problems trying to get even the

Re: Calls block when using Thrift API

2010-08-30 Thread Gary Dusbabek
If you're only interested in accessing data natively, I suggest you try the "fat client." It brings up a node that participates in gossip, exposes the StorageProxy API, but does not receive a token and so does not have storage responsibilities. StorageService.instance.initClient(); in 0.7 you wi

Re: Calls block when using Thrift API

2010-08-29 Thread Ruben de Laat
Just for the people looking to run Cassandra embedded and access directly (not via Thrift/Avro). This works: StorageService.instance.initServer(); And then just use the StorageProxy for data access. I have no idea if this is the right way, but is works. Kind regards, Ruben On Fri, Aug 27, 20

Re: Calls block when using Thrift API

2010-08-27 Thread Ruben de Laat
Thank you Ran, that's working! Should have tried that as well. There is a difference in the log's, embedded shows: INFO 20:16:31,796 Binding thrift service to localhost/127.0.0.1:9160 Batch-file-started one: INFO thrift.CassandraDaemon: Listening for thrift clients... So maybe different classes

Re: Calls block when using Thrift API

2010-08-27 Thread Ran Tavory
did you try connecting to a real cassandra instance, not an embedded one? I use an embedded one for testing and it works, but just to narrow down your problem. On Fri, Aug 27, 2010 at 6:13 PM, Ruben de Laat wrote: > Hi, > > I am new to cassandra, so maybe I am missing something obvious... > Vers

Calls block when using Thrift API

2010-08-27 Thread Ruben de Laat
Hi, I am new to cassandra, so maybe I am missing something obvious... Version: Latest nightly build (2010-08-23_13-57-40), but same results with 0.7.0b1 Server code (default configuration file): System.setProperty("cassandra.config", "conf/cassandra.yaml"); EmbeddedCassandraService embeddedCassa