RE: General questions about Cassandra

2012-02-17 Thread Don Smith
Are there plans to build-in some sort of map-reduce framework into Cassandra and CQL? It seems that users should be able to apply a Java method to selected rows in parallel on the distributed Cassandra JVMs. I believe Solandra uses such an integration. Don

RE: Suggestion about syntax of CREATE COLUMN FAMILY

2011-12-22 Thread Don Smith
QL enhancements also belong in the same jira project, or somewhere else? Ernie On Thu, Dec 22, 2011 at 11:51 AM, Don Smith mailto:dsm...@likewise.com>> wrote: FYI, I submitted an enhancement ticket<https://issues.apache.org/jira/browse/CASSANDRA-3660?page=com.atlassian.jira.plugin.syste

RE: Suggestion about syntax of CREATE COLUMN FAMILY

2011-12-22 Thread Don Smith
with Cassandra for a good while now, but when I first started little things like this were confusing. From: Don Smith [mailto:dsm...@likewise.com] Sent: Friday, December 09, 2011 3:41 PM To: user@cassandra.apache.org Subject: Suggestion about syntax of CREATE COLUMN FAMILY Currently, the syntax fo

RE: Cassandra C client implementation

2011-12-14 Thread Don Smith
VIrgil apparently lets you access cassandra via a RESTful interface: http://code.google.com/a/apache-extras.org/p/virgil/ Depending on your performance needs and the maturity of virgil's code (I think it's alpha), that may work. You could always fork a java process and pipe to it. Don ___

Suggestion about syntax of CREATE COLUMN FAMILY

2011-12-09 Thread Don Smith
Currently, the syntax for creating column families is like this: create column family Users with comparator=UTF8Type and default_validation_class=UTF8Type and key_validation_class=UTF8Type; It's not clear what "comparator" and "default_validation_class" refer to. Much clearer would be: create c

re: User Survey

2011-11-29 Thread Don Smith
cli's "show keyspaces" command shows way too much information by default. I think by default it should show just one line per keyspace. A "-v" option could show more info. What GUI alternatives are there to cli for browsing a cassandra ring? Lots of people WILL use cli, so it should be spif

Re: Efficiency of hector's setRowCount (and setStartKey!)

2011-10-13 Thread Don Smith
:15 AM, Patricio Echagüe wrote: Hi Don. No it will not. IndexedSlicesQuery will read just the amount of rows specified by RowCount and will go to the DB to get the new page when needed. SetRowCount is doing indexClause.setCount(rowCount); On Mon, Oct 10, 2011 at 3:52 PM, Don Smith <mailto:d

Efficiency of hector's setRowCount

2011-10-10 Thread Don Smith
Hector's IndexedSlicesQuery has a setRowCount method that you can use to page through the results, as described in https://github.com/rantav/hector/wiki/User-Guide . rangeSlicesQuery.setRowCount(1001); . rangeSlicesQuery.setKeys(lastRow.getKey(), ""); Is it efficient? Spe

Question about sharding of rows and atomicity

2011-10-05 Thread Don Smith
Does Cassandra shard the columns of a single row across multiple nodes so that to read the columns of the row it may need access to multiple nodes? I'd say "no." Will a read from a given node ever return partial results or is the write to a node of a row atomic? Thanks, Don