Re: Cassandra won't start after node crash

2010-06-11 Thread Lucas Di Pentima
at org.apache.cassandra.tools.SSTableExport.main(SSTableExport.java:373) I tried to run it with another data file and it outputs its contents without problems, so I suppose that those data files are corrupted, and I should recreate the whole data store... Thanks -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Re: Cassandra won't start after node crash

2010-06-09 Thread Lucas Di Pentima
sue of course, as soon as the 2 nodes were on different hosts :-) As an exercise I'll try Jonathan's advice. Thanks guys! -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Cassandra won't start after node crash

2010-06-08 Thread Lucas Di Pentima
:91) at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177) Thanks in advance -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Re: ThriftTransportException using Ruby Gem 0.8.2 against Cassandra 0.6.1

2010-04-27 Thread Lucas Di Pentima
El 27/04/2010, a las 19:00, Ryan King escribió: > On Tue, Apr 27, 2010 at 2:29 PM, Lucas Di Pentima > wrote: >> >> El 27/04/2010, a las 18:11, Ryan King escribió: >> >>> On Tue, Apr 27, 2010 at 1:38 PM, Lucas Di Pentima >>> wrote: >>> >

Re: Querying by date range when using TimeUUIDType ColumnFamily?

2010-04-27 Thread Lucas Di Pentima
nds, while a true TimeUUID uses > 100 nanosecond slices of time. I've tried it and am amazed of this feature, I don't know why I supposed that wouldn't work, thanks Lee & Justin!!! :) -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Re: ThriftTransportException using Ruby Gem 0.8.2 against Cassandra 0.6.1

2010-04-27 Thread Lucas Di Pentima
El 27/04/2010, a las 18:11, Ryan King escribió: > On Tue, Apr 27, 2010 at 1:38 PM, Lucas Di Pentima > wrote: > >> Nope, I'm doing some tests locally on my notebook (Macbook OSX 10.6.3 w/4GB >> RAM). My script insert several hundred thousand columns with stable sp

Re: ThriftTransportException using Ruby Gem 0.8.2 against Cassandra 0.6.1

2010-04-27 Thread Lucas Di Pentima
El 27/04/2010, a las 17:34, Ryan King escribió: > On Tue, Apr 27, 2010 at 1:31 PM, Lucas Di Pentima > wrote: >> Thanks Ryan for the fast response! Can you explain to me why binding against >> 127.0.0.1 causes the problem? Maybe it's useful to point this out in the &g

Re: ThriftTransportException using Ruby Gem 0.8.2 against Cassandra 0.6.1

2010-04-27 Thread Lucas Di Pentima
you need to update your storage-conf to bind to an ip > other than loopback. > > -ryan > > On Tue, Apr 27, 2010 at 1:11 PM, Lucas Di Pentima > wrote: >> Hello, >> >> I'm importing some data on Cassandra, running only on my laptop, with all >> confi

Re: Querying by date range when using TimeUUIDType ColumnFamily?

2010-04-27 Thread Lucas Di Pentima
Assuming a ColumnFamily with a CompareWith of TimeUUIDType, is it possible to > call get_slice with an arbitrary date range? How would valid values for the > start and finish attributes of the slice range be constructed? > > Thanks > Ed > -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

ThriftTransportException using Ruby Gem 0.8.2 against Cassandra 0.6.1

2010-04-27 Thread Lucas Di Pentima
0 0 1 I was importing data from only one thread, using the same connection to Cassandra Can you give me some help to solve this? Should I catch the exception and retry, or maybe there's some error that causing this behaviour? Thanks in advance -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Re: when i use the OrderPreservingPartition, the load is very imbalance

2010-04-26 Thread Lucas Di Pentima
istributing your nodes equally from to would result in fairly even > data (provided you don't have a very small number of very large customers). How do you ask cassandra to do a range scan with a prefix? As far as I can tell, you can't do something like: db.get_range('

Question about TimeUUIDType

2010-04-23 Thread Lucas Di Pentima
I tried this on irb console and checked that TimeUUIDs are different. So, my second question is: How different TimeUUIDs generated from the same UNIX timestamp are going to be ordered in the ColumnFamily? Thanks in advance!! -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Re: Cassandra Ruby Library's batch method example?

2010-04-23 Thread Lucas Di Pentima
Thu, Apr 22, 2010 at 7:23 PM, Lucas Di Pentima > wrote: >> >> El 22/04/2010, a las 19:57, Ryan King escribió: >> >>> The batch method in the cassandra gem is still a little crippled (it >>> doesn't actually batch together everything it can), but you ca

Re: Cassandra Ruby Library's batch method example?

2010-04-22 Thread Lucas Di Pentima
rb#L299 Thanks Ryan! One question about this feature: Ideally it should execute all batched operations or none, is that right? In case one batched operation raise some exception, the previous ops are rolled back? -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Cassandra Ruby Library's batch method example?

2010-04-22 Thread Lucas Di Pentima
Hi, I would like to see example code about the batch() method, I searched for it on Google, but I couldn't find any. Reading the inline comments, this operation could be useful for example to insert some record and update the indexes all at once, am I right? Best regards -- Lucas Di Pe

RandomPartitioner doubts

2010-04-21 Thread Lucas Di Pentima
om) order every call I do, but I don't know if this is a design feature or some collateral characteristic that is likely to change in the future, or even the behaviour is different with N-node clusters. Thanks in advance! -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima

Re: Just starting to play with Cassandra: (Surely) Dumb Question

2010-04-17 Thread Lucas Di Pentima
Hello Sylvain, El 17/04/2010, a las 12:09, Sylvain Lebresne escribió: > On Sat, Apr 17, 2010 at 4:52 PM, Lucas Di Pentima > wrote: >> Hello Jonathan, >> >> I supposed the same, that's why I tried the count_columns() call, but when I >> try it with some bi

Re: Just starting to play with Cassandra: (Surely) Dumb Question

2010-04-17 Thread Lucas Di Pentima
ay to know how much columns exists? Best regards El 17/04/2010, a las 01:14, Jonathan Ellis escribió: > You're supposed to request a few hundred or thousand columns per call, > then if you need more request the next set using the start parameter. > > On Fri, Apr 16, 2010 at 7:1

Just starting to play with Cassandra: (Surely) Dumb Question

2010-04-16 Thread Lucas Di Pentima
ks without problems. My setup is: * Cassandra 0.6.0-rc1 downloaded from the website, with all default configurations * Ruby 1.8.7 * Cassandra gem 0.8.1 * MacOSX 1.6.3 Any help will be appreciated! -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com

Re: Off line client nodes?

2010-04-12 Thread Lucas Di Pentima
ase that was thought about when the clustering > was designed, but will it work? > [...] > Many thanks, > > Col > I think you should try CouchDB for this use case scenario. Best regards -- Lucas Di Pentima - Santa Fe, Argentina Jabber: lu...@di-pentima.com.ar MSN: ldipent...@hotmail.com