Re: java API?

2009-11-13 Thread Michael Greene
It would be helpful to know the specific errors you're experiencing. Michael On Fri, Nov 13, 2009 at 10:51 AM, Mark Vigeant mark.vige...@riskmetrics.com wrote: I’m completely new to Cassandra and I think the wiki and documentation are really well done. Now I’m trying to construct an

Re: out of memory error on malformed Thrift protocol

2009-11-13 Thread Michael Greene
This is a know issue and is out of Cassandra's specific hands. The Thrift issue is: http://issues.apache.org/jira/browse/THRIFT-601 The temporary workaround is don't send random data to your Cassandra instance. Michael 2009/11/13 Ted Zlatanov t...@lifelogs.com: The sequence to trigger the bug:

Re: [VOTE] Website

2009-11-11 Thread Michael Greene
+1 On Wed, Nov 11, 2009 at 4:12 PM, Brandon Williams dri...@gmail.com wrote: On Wed, Nov 11, 2009 at 4:10 PM, Eric Evans eev...@rackspace.com wrote: The current website is quite ugly, and I don't know about you, but I'm itching to put the new project logo to use, so I'd like to propose

Re: Incr/Decr Counters in Cassandra

2009-11-04 Thread Michael Greene
This has come up before at http://markmail.org/thread/w3mrh4h64xpf3vuj and http://markmail.org/message/vnmsuddlrhaziq7g I am in favor of adding eventually-consistent atomic operations such as this, but I'm not sure how one would implement it. Some sort of UUID + bloomfilter for the individual

Re: are columns of a supercolumn name sorted?

2009-10-25 Thread Michael Greene
reversed is a boolean option on the SliceRange that you pass in the get_slice method via its predicate parameter. Michael On Sun, Oct 25, 2009 at 8:26 PM, kevin kevincastigli...@gmail.com wrote: hi jonathan thanks for the clarification. subcolumns is what you want (with the reverse option to

Re: RMI occupies port 8080

2009-10-22 Thread Michael Greene
This is passed in on the command line, and can be found in bin/ cassandra.in.sh if using the default scripts. Michael On Oct 22, 2009, at 5:08 AM, Johannes Schaback johannes.schab...@visual-meta.com wrote: Hi, I am not sure how far this is actually a RMI thing than concerns Cassandra,

Re: Cassandra and Oracle Coherence Comparison

2009-10-05 Thread Michael Greene
Briefly * Coherence is in-memory, Cassandra is persisted * Coherence has a transactional model, Cassandra is eventually consistent * Coherence has specially written adapters for different environments/languages, Cassandra supports most languages through Thrift * They both are distributed

Re: usage

2009-09-28 Thread Michael Greene
You must have been talking to the wrong developers. Facebook open-sourced Cassandra in early 2008.  In August 2008 they wrote about this publically, at http://www.new.facebook.com/note.php?note_id=24413138919 where they state: First deployment of Cassandra system within Facebook was for the Inbox

Re: perfomance issue

2009-09-25 Thread Michael Greene
Thanks for the results. Perhaps you could shed further light:Is this a single node system? Is the log level changed from DEBUG to INFO? Are the commit log and data directories on the same drive? Are the sets/gets being processed interleaved in parallel, or one then the other? Note that writes

Re: triggers in cassandra

2009-09-25 Thread Michael Greene
. That way I don't need to do continuous polling. Is there any functionality right now that I could use to implement this? Thanks -h On Fri, Sep 25, 2009 at 7:59 AM, Michael Greene michael.gre...@gmail.com wrote: Hector, Can you describe explicitly what you'd want to see

Re: Pls, help with fetching of super-column's value

2009-08-19 Thread Michael Greene
start and finish in SliceRange are non-optional. Try empty strings. 2009/8/19 Teodor Sigaev teo...@sigaev.ru: Some more news, I added printing of stack trace to perl's client, and I see that problem is in getting answer from server, not in sending. It breaks on reading of exception

Re: Cassandra performance

2009-08-19 Thread Michael Greene
What Jonathan said. Also, if you have the ability to switch your profiler between wall mode and CPU mode, I would recommend it to give you a better overall picture of what is going on. If your profiler can switch between 'sampling' and 'tracing' modes that would also be useful. I'm not sure if

Re: Valid consistency level values on trunk

2009-08-11 Thread Michael Greene
and congratulations to Cassandra's local hero, Sammy Yu, who apparently had the same idea. On Tue, Aug 11, 2009 at 9:50 PM, Jonathan Ellisjbel...@gmail.com wrote: Thanks for looking into it, though. On Tue, Aug 11, 2009 at 10:59 AM, Mark McBridemark.mcbr...@gmail.com wrote: My shot at hero

Re: .NET client example

2009-08-04 Thread Michael Greene
The Java examples are easily portable. For what it's worth, I have been using C# with Cassandra for awhile. I have some wrapper classes and connection management code that I'm still working on getting released, but for testing the code generated by Thrift is largely usable out of the box.

Re: ERROR - Fatal error: Unable to load class org.apache.cassandra.db.marshal.Name for CompareWith attribute

2009-08-02 Thread Michael Greene
That's the error that would be printed if you had CompareWith=Name set, which is invalid. Valid values for CompareWith are listed in the XML file, and are: AsciiType UTF8Type BytesType UUIDType LongType Michael On Sun, Aug 2, 2009 at 10:20 PM, Tom Melendez tom.melen...@gmail.comwrote: Is your

Re: idiomatic way to do zeitgeist kind of counter behavior in cassandra

2009-07-23 Thread Michael Greene
, Jul 22, 2009 at 9:36 PM, Michael Greene michael.gre...@gmail.com wrote: See this previous discussion of a related topic http://markmail.org/thread/w3mrh4h64xpf3vuj Michael On Wed, Jul 22, 2009 at 11:31 PM, mobiledream...@gmail.com wrote: I m trying to figure out how to implement

Re: one server or more servers?

2009-07-15 Thread Michael Greene
You can use the nodeprobe utility in bin/ to contact each node and make sure they see the same information. Run it with no arguments to see the commands you can pass it. There is also an open issue at https://issues.apache.org/jira/browse/CASSANDRA-252 for making this a little more automatic

Re: A few issues with the latest code

2009-06-28 Thread Michael Greene
Not sure about the port issue. You should be able to find all the defined ports in conf/storage-conf.xml I filed https://issues.apache.org/jira/browse/CASSANDRA-260 a couple days ago about the Cli/Cql problem. In a recent check-in, the API for reading all columns changed, and the Cli/Cql wasn't