FWD: [protobuf] Captain Proto -- A Protobuf RPC system using capability-based security

2009-12-21 Thread Ian Holsman
There was a discussion about authorization for cassandra a while back. I thought this may be of interest. yes it is based on protobuf, but it should work equally as well with Thrift if someone was eager enough I would think. Regards Ian Original Message Subject:[proto

Re: SliceRange inclusive?

2009-12-21 Thread Jonathan Ellis
All of those should be inclusive. On Mon, Dec 21, 2009 at 8:47 PM, Adam Fisk wrote: > Apologies for the back and forth, but it appears that get_range_slice > is inclusive for both "start" and "finish" but SliceRange is exclusive > at least for "start." > > Can anyone verify that behavior? I'll ad

Re: SliceRange inclusive?

2009-12-21 Thread Adam Fisk
Apologies for the back and forth, but it appears that get_range_slice is inclusive for both "start" and "finish" but SliceRange is exclusive at least for "start." Can anyone verify that behavior? I'll add a patch comment to cassandra.thrift if so. I'm still quite new to Cassandra and don't entirel

Re: SliceRange inclusive?

2009-12-21 Thread Adam Fisk
Ignore me -- just gave a closer read to the get_range_slice documentation. Thanks. -Adam On Mon, Dec 21, 2009 at 5:55 PM, Adam Fisk wrote: > It looks like the "start" value in SliceRange is exclusive, is that > correct? What about "end"? > > Thanks very much. > > -Adam > > -- > Adam Fisk > htt

SliceRange inclusive?

2009-12-21 Thread Adam Fisk
It looks like the "start" value in SliceRange is exclusive, is that correct? What about "end"? Thanks very much. -Adam -- Adam Fisk http://www.littleshoot.org | http://adamfisk.wordpress.com | http://twitter.com/adamfisk

Re: BUILD FAILURE

2009-12-21 Thread Adam Fisk
Any reason you guys do it this way? It's *much* easier to maintain a working ant build using maven as the base than the other way around (mvn ant:ant). -Adam On Mon, Dec 21, 2009 at 12:19 PM, Eric Evans wrote: > On Sun, 2009-12-20 at 22:47 +0530, Thilanga Pitigala wrote: >> -

Re: how to revert to old thrift

2009-12-21 Thread Adam Fisk
You just have to update to specific revision numbers. I'm using the same thrift rev as trunk, for example, so: svn up -r820831 in Thrift's repo. I believe the snapshots and 0.4.2 are using 808609, but I'd double-check. -Adam On Sun, Dec 20, 2009 at 4:08 AM, Richard Grossman wrote: > I try to

Re: BUILD FAILURE

2009-12-21 Thread Eric Evans
On Sun, 2009-12-20 at 22:47 +0530, Thilanga Pitigala wrote: > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Compilation failure > error: error reading >

Re: Purpose and usage of StorageService

2009-12-21 Thread Jiri Jakes
That's what I needed to know and could not find. Thanks, Jonathan. On Mon, 21 Dec 2009 12:40:17 -0600 Jonathan Ellis wrote: > Added http://wiki.apache.org/cassandra/Embedding to explain this. > > On Mon, Dec 21, 2009 at 12:32 PM, Jonathan Ellis > wrote: > > that is necessary but not sufficien

Re: Purpose and usage of StorageService

2009-12-21 Thread Jonathan Ellis
Added http://wiki.apache.org/cassandra/Embedding to explain this. On Mon, Dec 21, 2009 at 12:32 PM, Jonathan Ellis wrote: > that is necessary but not sufficient.  look at what > CassandraDaemon.setup does; in particularly you need to call > Table.onStart and RecoveryManager.doRecovery. > > On Mon

Re: Purpose and usage of StorageService

2009-12-21 Thread Jonathan Ellis
that is necessary but not sufficient. look at what CassandraDaemon.setup does; in particularly you need to call Table.onStart and RecoveryManager.doRecovery. On Mon, Dec 21, 2009 at 11:42 AM, Jiri Jakes wrote: > Hello all! > > Please, would you explain to me, what is StorageService's initServer(

ruby cassandra bindings now discovers all nodes

2009-12-21 Thread Jeff Hodges
Hey, I just wanted to let everyone know on Friday a change was pushed up to cassandra ruby bindings[1] that allows a user to easily use all of their cassandra nodes as thrift servers. Before you would have to pass an enumerated list of all the addresses of the servers in your cluster. Now, the bi

Purpose and usage of StorageService

2009-12-21 Thread Jiri Jakes
Hello all! Please, would you explain to me, what is StorageService's initServer() method's purpose? Is it possible to run Cassandra on a single node this way? If I call initServer() in my program, everything seems to work (the directories and files are created and I can insert some data) but then,

Re: Multiple DataFileDirectorie and disk failure

2009-12-21 Thread Jonathan Ellis
On Mon, Dec 21, 2009 at 2:37 AM, wrote: > 1.   How does SStables of one key-space distribute among multiple data > directory?(what distribute policy?) round-robin > 2.   What fault-tolerant policy does cassandra utilize to against disk > failure? node-level replication > 3.   If o

Multiple DataFileDirectorie and disk failure

2009-12-21 Thread mail.list.steel.mental
HI,folks: It’s seems cassandra can use multiple DataFileDirectory: ….. C:\Data1 C:\Data2 C:\Data3 …… ….. >From code I found cassandra will create a directory for each table (keyspace), >now I have a node which have 12 disk, and I plan to mount each