Re: Unsubscribe

2011-07-21 Thread vicent roca daniel
thanks, and sorry for the noise :) On Thu, Jul 21, 2011 at 2:36 PM, Hartog C. de Mik wrote: > On Thu, Jul 21, 2011 at 07:41:26AM -0500, Rick Hohler wrote: > > On Jul 21, 2011, at 5:07 AM, vicent roca daniel > wrote: > > > > On Thu, Jul 21, 2011 at 11:57 AM, Zhu Han w

Unsubscribe

2011-07-21 Thread vicent roca daniel
On Thu, Jul 21, 2011 at 11:57 AM, Zhu Han wrote: > Very helpful. Thank you! > > best regards, > Zhu Han > > > > On Thu, Jul 21, 2011 at 12:24 PM, Todd Burruss wrote: > >> I put together a blog post on Cassandra Storage Sizing so I don’t need >> to keep figuring it out again and again. Hope ever

unsubscribe

2011-07-09 Thread vicent roca daniel
On Sat, Jul 9, 2011 at 2:08 PM, Eldad Yamin wrote: > Can you please Watchitoo.com (its' free) and broadcast the event? > > On Fri, Jul 8, 2011 at 8:54 PM, Richard Low wrote: > >> Hi all, >> >> If you're in San Francisco for CassandraSF on Monday 11th, then come >> and join fellow Cassandra users

Accessing the 'time' name from a ColumnFamiliy

2011-01-16 Thread vicent roca daniel
Hi guys, I'm trying to get as a result a key->value from my ColumnFamily but so far nothing. The ColumnFamily is ordered by LongType (I'm storing Time object as a Column Name) A sample code could be: data = cassandradb.get(:Data, "00:15:6D:E6:D9:A4-networkl") I can access to the values, but then

Re: Insert LongType with ruby

2011-01-04 Thread vicent roca daniel
> (column=1294176156957286, value=1, timestamp=1294176156965795) Which I think it makes more sense since this columns names are timestamps. I'll keep working on this. Thanks for your help ryan :) On Tue, Jan 4, 2011 at 10:18 PM, Ryan King wrote: > On Tue, Jan 4, 2011 at 12:50 PM, vicent roca

Re: Insert LongType with ruby

2011-01-04 Thread vicent roca daniel
rand(2**12) I'll keep looking at this. Thanks! :) On Mon, Jan 3, 2011 at 10:24 PM, vicent roca daniel wrote: > The problem I think I have is that I think I'm not storing the correct > value. > If I do this (for example): > > app.insert(:NumData, 'devi

Re: Insert LongType with ruby

2011-01-03 Thread vicent roca daniel
ect that the column name is not a valid Time. ¿That make sense? I'm really new, so please, understand me if I did something crazy :) On Mon, Jan 3, 2011 at 10:17 PM, Ryan King wrote: > On Mon, Jan 3, 2011 at 1:15 PM, vicent roca daniel > wrote: > > hi, > > no I'n not gett

Re: Insert LongType with ruby

2011-01-03 Thread vicent roca daniel
n Mon, Jan 3, 2011 at 10:06 PM, Ryan King wrote: > On Mon, Jan 3, 2011 at 12:56 PM, vicent roca daniel > wrote: > > Hi again! > > code: > > require 'rubygems' > > require 'cassandra' > > app = Cassandra.new('AOM', servers = &qu

Re: Insert LongType with ruby

2011-01-03 Thread vicent roca daniel
, Ryan King wrote: > On Mon, Jan 3, 2011 at 9:32 AM, vicent roca daniel > wrote: > > Hi Ryan, > > When I insert the column, I don't get any error. But, when I inspect the > > contents, I don't see a valid number. > > also, If I try to do a range query, I'm not getting the expected results. > > Please show the code you're using. > > -ryan >

Re: cassandra ruby undefined method

2011-01-03 Thread vicent roca daniel
Sorry for this message. I realize that I was doing it wrong. Thanks ryan. On Mon, Jan 3, 2011 at 6:03 PM, Ryan King wrote: > On Sat, Jan 1, 2011 at 2:42 PM, vicent roca daniel > wrote: > > Hi guys, I'm new in this list && Cassandra :) > > I'm playing with

Re: Insert LongType with ruby

2011-01-03 Thread vicent roca daniel
Hi Ryan, When I insert the column, I don't get any error. But, when I inspect the contents, I don't see a valid number. also, If I try to do a range query, I'm not getting the expected results. On Mon, Jan 3, 2011 at 6:02 PM, Ryan King wrote: > On Sun, Jan 2, 2011 at 3:

Insert LongType with ruby

2011-01-02 Thread vicent roca daniel
Hi guys, I need your help. I'm trying to insert a column name of type LongType using the ruby wrapper, but I can't get it working. What I'm trying is something like this: app.insert(:Data, 'device1-cpu', { Time.now => 1234.to_s}) The columnNames are tye TimeStamp. this way I got an ordened re

cassandra ruby undefined method

2011-01-01 Thread vicent roca daniel
Hi guys, I'm new in this list && Cassandra :) I'm playing with Cassandra with the ruby wrapper, and I can't figurate out what's happing with this error... I have this: app = Cassandra.new('AOM', servers = "127.0.0.1:9160", :transport_wrapper => Thrift::FramedTransport) app.insert(blahh) --> work