Re: Social network feed/wall question

2009-11-23 Thread Kristian Lunde
Hi Ian Thanks for your answer, I'll have a look at redis. I think it should be possible doing this in cassandra if I sort the columns by timeUUID. Kristian On 22 Nov 2009, at 23:11, Ian Holsman wrote: One of the problems you may face is that the common operation is 'get last X'. You

Exception in Cassandra-cli tool

2009-11-23 Thread Richard Grossman
Hello Using the 0.4.2 last stable not from trunk. I get alway in cassandra-cli the following exception: cassandra show keyspaces Exception Cannot read. Remote side has closed. Tried to read 4 bytes, but only got 0 bytes. org.apache.thrift.transport.TTransportException: Cannot read. Remote side

Re: Social network feed/wall question

2009-11-23 Thread Jonathan Ellis
Yes, sort by anything providing time ordering like TimeUUID and then use get_slice with reversed=True to get the most recent. On Mon, Nov 23, 2009 at 4:14 AM, Kristian Lunde kr.lu...@gmail.com wrote: Hi Ian Thanks for your answer, I'll have a look at redis. I think it should be possible doing

Re: Exception in Cassandra-cli tool

2009-11-23 Thread Jonathan Ellis
Sounds like the server is using framed transport but the cli is not. On Mon, Nov 23, 2009 at 4:58 AM, Richard Grossman richie...@gmail.com wrote: Hello Using the 0.4.2 last stable not from trunk. I get alway in cassandra-cli the following exception: cassandra show keyspaces Exception Cannot

Re: Exception in Cassandra-cli tool

2009-11-23 Thread Richard Grossman
if you mean the params ThriftFramedTransportfalse/ThriftFramedTransport all the instance have false here On Mon, Nov 23, 2009 at 3:46 PM, Jonathan Ellis jbel...@gmail.com wrote: Sounds like the server is using framed transport but the cli is not. On Mon, Nov 23, 2009 at 4:58 AM, Richard

Re: Problem with cassdict import

2009-11-23 Thread Eric Evans
On Sat, 2009-11-21 at 12:20 -0600, Saran wrote: In [2]: from cassdict.cass import * --- ImportError Traceback (most recent call last) /home/sridhar/Desktop/cassdict/ipython console in

Re: Exception in Cassandra-cli tool

2009-11-23 Thread Eric Evans
On Mon, 2009-11-23 at 12:58 +0200, Richard Grossman wrote: Using the 0.4.2 last stable not from trunk. I get alway in cassandra-cli the following exception: cassandra show keyspaces Exception Cannot read. Remote side has closed. Tried to read 4 bytes, but only got 0 bytes.

Re: get_key_range timeouts

2009-11-23 Thread Jonathan Ellis
Have you tried get_range_slice on trunk instead? get_key_range's design is kind of fundamentally broken, so we're deprecating it in favor of get_range_slice starting in 0.5. (gkr will still be in the 0.5 series, but probably not after that.) On Mon, Nov 23, 2009 at 11:03 AM, Dan Di Spaltro

Re: get_key_range timeouts

2009-11-23 Thread Dan Di Spaltro
I haven't, is this common though? Seems like this is a pretty bad to have key_ranges time out like this... but you don't think this would happen in get_range_slice? Best, On Mon, Nov 23, 2009 at 9:07 AM, Jonathan Ellis jbel...@gmail.com wrote: Have you tried get_range_slice on trunk instead?  

Re: Cassandra users survey

2009-11-23 Thread Ted Zlatanov
On Fri, 20 Nov 2009 17:38:39 -0800 Dan Di Spaltro dan.dispal...@gmail.com wrote: DDS At Cloudkick we are using Cassandra to store monitoring statistics and DDS running analytics over the data. I would love to share some ideas DDS about how we set up our data-model, if anyone is interested.

Re: get_key_range timeouts

2009-11-23 Thread Jonathan Ellis
On Mon, Nov 23, 2009 at 11:17 AM, Dan Di Spaltro dan.dispal...@gmail.com wrote: I haven't, is this common though? Short answer? Yes. :) On Mon, Nov 23, 2009 at 9:07 AM, Jonathan Ellis jbel...@gmail.com wrote: Have you tried get_range_slice on trunk instead?  get_key_range's design is kind

Re: Cassandra access control

2009-11-23 Thread Jonathan Ellis
sysauth says it is GPL v2 (also not compatible) 2009/11/23 Ted Zlatanov t...@lifelogs.com: On Fri, 20 Nov 2009 15:22:07 -0600 Jonathan Ellis jbel...@gmail.com wrote: JE Kasai is LGPL, and thus not compatible w/ Cassandra.  (See JE http://www.apache.org/legal/3party.html) How annoying, it

Re: java.util.concurrent.TimeoutException: Operation timed out - received only 0 responses from .

2009-11-23 Thread mobiledreamers
this error keeps coming up... any ideas on how to avoid this error? On Wed, Nov 18, 2009 at 11:25 PM, mobiledream...@gmail.com wrote: Can you plase tell what this error is ? ERROR - error writing key ruske *java.util.concurrent.TimeoutException: Operation timed out - received only 0

Re: cassandra over hbase

2009-11-23 Thread Jonathan Ellis
On Mon, Nov 23, 2009 at 10:02 AM, Eric Evans eev...@rackspace.com wrote: What would people on the list say are the primary reasons to use Cassandra over HBase? HA and speed are very important for my application. HBase's tighter integration with Hadoop and therefore easier reporting and

Re: Cassandra users survey

2009-11-23 Thread Jonathan Ellis
Thanks for the replies, everyone. A couple people have suggested that we put this on the wiki to replace the old, never-updated PoweredBy page (maybe as UsersSurvey09). I'll pull the _public_ responses only into a wiki page later this week; if you replied to the list but don't want to be on the

Re: Cassandra access control

2009-11-23 Thread Ted Zlatanov
On Mon, 23 Nov 2009 12:22:37 -0600 Jonathan Ellis jbel...@gmail.com wrote: JE sysauth says it is GPL v2 (also not compatible) Hmm. I guess I have to reimplement SysAuth. At least the code is not terribly complicated, but it's a shame to reinvent the cart and the wheel. Ted

Cassandra Database Format Compatibility

2009-11-23 Thread Jon Graham
Hello Everyone, Will the Cassandra database format for the current Cassandra source trunk be compatible with the 0.5 Cassandra release? If there are database version differences, is there a migration path to convert older data formats to the new versions? Is there an estimated release date for

Re: Cassandra Database Format Compatibility

2009-11-23 Thread Brandon Williams
On Mon, Nov 23, 2009 at 4:47 PM, Jon Graham sjclou...@gmail.com wrote: Hello Everyone, Will the Cassandra database format for the current Cassandra source trunk be compatible with the 0.5 Cassandra release? Yes. Only the commitlog format changes between 0.4 and 0.5, and that isn't a

ring state out of sync in build 883477

2009-11-23 Thread B. Todd Burruss
i'm observing the following on a cluster that started with 4 nodes. i have been killing and restarting the various nodes as i test cassandra and now i'm seeing a lot of NotFoundException exceptions in the client because what i believe is ring state out of sync between the two nodes that are still

Re: ring state out of sync in build 883477

2009-11-23 Thread Jonathan Ellis
So vmquest85 was restarted, but gen-app02 hasn't told it that there are 2 other nodes that are down? Which one is the seed node? On Mon, Nov 23, 2009 at 6:38 PM, B. Todd Burruss bburr...@real.com wrote: i'm observing the following on a cluster that started with 4 nodes.  i have been killing

Re: Cassandra Database Format Compatibility

2009-11-23 Thread kevin
On Mon, Nov 23, 2009 at 3:27 PM, Brandon Williams dri...@gmail.com wrote: On Mon, Nov 23, 2009 at 4:47 PM, Jon Graham sjclou...@gmail.com wrote: Is there an estimated release date for the 0.5 release? Beta should happen fairly soon -- it's up for a vote in the IPMC right now. what does

Re: Cassandra users survey

2009-11-23 Thread Matt Revelle
On Nov 23, 2009, at 12:27, Ted Zlatanov t...@lifelogs.com wrote: On Fri, 20 Nov 2009 17:38:39 -0800 Dan Di Spaltro dan.dispal...@gmail.com wrote: DDS At Cloudkick we are using Cassandra to store monitoring statistics and DDS running analytics over the data. I would love to share some