Re: RESTful API for GET

2012-06-12 Thread Cyril Auburtin
Ok actually in my query call instead of &page=14, I will put &page=colName141st, 2012/6/12 Sasha Dolgy > https://github.com/hmsonline/virgil Brian O'Neill posted this a while ago > ... sits on top of Cassandra to give you the RESTful API you want > > Another option ... http://code.google.com/p/r

Re: Hector code not running when replication factor set to 2

2012-06-12 Thread aaron morton
What consistency level and replication factor were you using ? UnavailableException is thrown when less the consistency level nodes are UP. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 11/06/2012, at 10:19 PM, Prakrati Agrawal wrote: >

RE: Hector code not running when replication factor set to 2

2012-06-12 Thread Prakrati Agrawal
I am using the consistency level one and replication factor 2 Thanks Prakrati From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Tuesday, June 12, 2012 2:12 PM To: user@cassandra.apache.org Subject: Re: Hector code not running when replication factor set to 2 What consistency level and rep

Re: Dead node still being pinged

2012-06-12 Thread aaron morton
Try purging the hints for 10.10.0.24 using the HintedHandOffManager MBean. Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 12/06/2012, at 3:33 AM, Nicolas Lalevée wrote: > finally, thanks to the groovy jmx builder, it was not that hard. >

Re: Much more native memory used by Cassandra then the configured JVM heap size

2012-06-12 Thread aaron morton
see http://wiki.apache.org/cassandra/FAQ#mmap > which cause the OS low memory. If the memory is used for mmapped access the os can get it back later. Is the low free memory causing a problem ? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com

Re: Hector code not running when replication factor set to 2

2012-06-12 Thread aaron morton
What was the exact error stack you got ? What does node tool ring look look from the node you connected to? Did you notice any errors in the logs on the machine you connected to ? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 12/06/2012

Re: Dead node still being pinged

2012-06-12 Thread Nicolas Lalevée
Le 12 juin 2012 à 11:03, aaron morton a écrit : > Try purging the hints for 10.10.0.24 using the HintedHandOffManager MBean. As far as I could tell, there were no hinted hand off to be delivered. Nevertheless I have called "deleteHintsForEndpoint" on every node for the two expected to be out no

Re: Dead node still being pinged

2012-06-12 Thread Nicolas Lalevée
I have one dirty solution to try: bring data-2 and data-4 back up and down again. Is there any way I can tell cassandra to not get any data, so when I would get my old node up, no streaming would start ? cheers, Nicolas Le 12 juin 2012 à 12:25, Nicolas Lalevée a écrit : > Le 12 juin 2012 à 11:

Subscribe

2012-06-12 Thread Jayesh Thakrar
Subscribe

Re: Subscribe

2012-06-12 Thread Roshan Dawrani
On Tue, Jun 12, 2012 at 8:56 PM, Jayesh Thakrar wrote: > Subscribe > Attempt unsuccessful, ** Was expecting a voice-command in mp3 format **

Odd problem with cli and display of value types

2012-06-12 Thread Holger Hoffstaette
While trying to play around with 1.1.1 and secondary indexes I just noticed something odd in cassandra-cli. Example straight from the README: --> show Mr. Smith holger>cassandra-cli [..] [default@Users] list users; Using default limit of 100 Using default column limit of 100 ---

RE: Setting column to null

2012-06-12 Thread Leonid Ilyevsky
Thanks Roshni, I actually looked at Hector, didn't like it that much. Too many methods, feels like there are ten ways to do the same thing, but very difficult to find the one you need. Many packages look like they are simply migrated from Cassandra and renamed, what is the point? In my opinion,

Number format in cqlsh

2012-06-12 Thread Leonid Ilyevsky
Is there a way to control the floating numbers format in the cqlsh output? I need more digits than it gives by default (in my tests, I see only one digit after the point). This email, along with any attachments, is confidential and may be legally privileged or otherwise protected from disclosur

Re: Number format in cqlsh

2012-06-12 Thread paul cannon
No, but a way could be added pretty easily. File a ticket on Jira? p On Tuesday, June 12, 2012, Leonid Ilyevsky wrote: > Is there a way to control the floating numbers format in the cqlsh output? > I need more digits than it gives by default (in my tests, I see only one > digit after the point).

select count(*) returns 10000

2012-06-12 Thread Leonid Ilyevsky
The "select count(*) ..." query returns correct count only if it is <= 1, otherwise it returns exactly 1. This happens in both Java API and cqlsh. Can somebody verify? This email, along with any attachments, is confidential and may be legally privileged or otherwise protected from disclo

Disappearing keyspaces in Cassandra 1.1

2012-06-12 Thread Oleg Dulin
I am using cassandra 1.1.0 on a 3 node environment. I just truncated a few column families then restarted the nodes. now when I restarted them it says my keyspace doesn't exist. The data for the keyspace is still in the data directory. Does anyone know what could have caused this?

Re: Setting column to null

2012-06-12 Thread Derek Williams
On Tue, Jun 12, 2012 at 9:59 AM, Leonid Ilyevsky wrote: > Thanks Roshni, > > I actually looked at Hector, didn't like it that much. Too many methods, > feels like there are ten ways to do the same thing, but very difficult to > find the one you need. Many packages look like they are simply migra

Re: select count(*) returns 10000

2012-06-12 Thread Derek Williams
It's a known issue, here is a bit extra info on it: http://stackoverflow.com/questions/8795923/wrong-count-with-cassandra-cql On Tue, Jun 12, 2012 at 12:40 PM, Leonid Ilyevsky wrote: > The "select count(*) ..." query returns correct count only if it is <= > 1, otherwise it returns exactly 10

RE: Number format in cqlsh

2012-06-12 Thread Leonid Ilyevsky
Filed the ticket: Cassandra CASSANDRA-4336 From: paul cannon [mailto:p...@datastax.com] Sent: Tuesday, June 12, 2012 12:49 PM To: user@cassandra.apache.org Subject: Re: Number format in cqlsh No, but a way could be added pretty easily. File a ticket on Jira? p On Tuesday, June 12, 2012, Leoni

Re: enforcing ordering

2012-06-12 Thread Franc Carter
On Thu, May 10, 2012 at 9:05 PM, aaron morton wrote: > Kewl. > > I'd be interested to know what you come up with. > Hi, it's taken some thought, however we know have a data model that we like and it does indeed make our major concerns non-existent ;-) So I thought I'd explain it in case someone

Re: Failing operations & repair

2012-06-12 Thread crypto five
It would be really great to look at your slides. Do you have any plans to share your presentation? On Sat, Jun 9, 2012 at 1:14 AM, Віталій Тимчишин wrote: > Thanks a lot. I was not sure if coordinator somehow tries to "roll-back" > transactions that failed to reach it's consistency level. > (Yet

Forward compatibility for CQL3 composite columns

2012-06-12 Thread Tom Duffield (Mailing Lists)
Is there documentation on a way to create a pre-CQL3 composite column CF with indexing that will be compatible with the built-in composite column capabilities in CQL3? -- Tom Duffield Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

Re: select count(*) returns 10000

2012-06-12 Thread Tamar Fraenkel
Add "limit N" and it will count more than 1. Of course it will be slow when you increase N. *Tamar Fraenkel * Senior Software Engineer, TOK Media [image: Inline image 1] ta...@tok-media.com Tel: +972 2 6409736 Mob: +972 54 8356490 Fax: +972 2 5612956 On Tue, Jun 12, 2012 at 10:07 P

portability between enterprise and community version

2012-06-12 Thread Abhijit Chanda
Hi All, Is it possible to communicate from a datastax enterprise edition to datastax community edition. Actually i want to set one of my node in linux box and other in windows. Please suggest. With Regards, -- Abhijit Chanda VeHere Interactive Pvt. Ltd. +91-974395

RE: Hector code not running when replication factor set to 2

2012-06-12 Thread Prakrati Agrawal
The error stack is as follows: Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMe