A Question about authorize method of IAuthority

2011-01-31 Thread indika kumara
Hi All, Currently, there are two permissions - read and write, and there is no way to know the current operation being performed such as add, update, etc. If the operation is 'add', as the user is already logged into the system, I would like to authorize the user for the resource going to add. I t

Re: Cassandra + Thrift on RedHat Enterprise 5

2011-01-31 Thread Vedarth Kulkarni
I will give it a try.. Vedarth Kulkarni, TYBSc (Computer Science). On Mon, Jan 31, 2011 at 7:59 AM, Shashank Tiwari wrote: > Why wouldn't you leverage Lucandra/Solandra instead of starting > from scratch? > > Thanks, Shashank > > > Shashank Tiw

How to monitor Cassandra's throughput?

2011-01-31 Thread Oleg Proudnikov
Hi All, Is there a way to tell how many mutations/s my cluster is processing across all column families? Per node value would be OK as well. I see WriteCount per CF per node as well as TotalWriteLatencyMicros. Are they the right metrics to aggregate for this purpose? Thank you very much, Oleg

Question on max_hint_window_in_ms

2011-01-31 Thread Narendra Sharma
As per config: # this defines the maximum amount of time a dead host will have hints # generated. After it has been dead this long, hints will be dropped. max_hint_window_in_ms: 360 # one hour Will this result in deletion of existing hints (from mem and disk)? or it will just stop creating ne

Re: Question on max_hint_window_in_ms

2011-01-31 Thread Brandon Williams
On Mon, Jan 31, 2011 at 1:07 PM, Narendra Sharma wrote: > As per config: > # this defines the maximum amount of time a dead host will have hints > # generated. After it has been dead this long, hints will be dropped. > max_hint_window_in_ms: 360 # one hour > > Will this result in deletion of

Compact Array OOB

2011-01-31 Thread Damick, Jeffrey
We're seeing array index out of bounds exceptions (below) on 0.7.0 when running compact. The repair seems to hang indefinitely on all nodes, that may be a symptom and this the underlying problem? On 1 node in our cluster (running compact): INFO [CompactionExecutor:1] 2011-01-31 20:07:12,140

Re: Compact Array OOB

2011-01-31 Thread Brandon Williams
On Mon, Jan 31, 2011 at 2:21 PM, Damick, Jeffrey wrote: > > And another node (running compact): > > INFO [StreamStage:1] 2011-01-31 20:03:48,663 StreamOutSession.java (line > 174) Streaming to /xxx.xxx.xxx.xxx > ERROR [CompactionExecutor:1] 2011-01-31 20:03:52,587 > AbstractCassandraDaemon.java

Re: How to monitor Cassandra's throughput?

2011-01-31 Thread Aaron Morton
On the JMX bean o.a.c.db.StorageProxy the ReadOperations and WriteOperations numbers for latency and operations are for the entire node.AaronOn 01 Feb, 2011,at 06:54 AM, Oleg Proudnikov wrote:Hi All, Is there a way to tell how many mutations/s my cluster is processing across all column families?

Re: Compact Array OOB

2011-01-31 Thread Damick, Jeffrey
Is there any way to manually fix / workaround this? I don't any in the bug.. On 1/31/11 3:25 PM, "Brandon Williams" wrote: On Mon, Jan 31, 2011 at 2:21 PM, Damick, Jeffrey wrote: And another node (running compact): INFO [StreamStage:1] 2011-01-31 20:03:48,663 StreamOutSession.java (line 1

Re: Simple Compression Idea

2011-01-31 Thread David G. Boney
Is the partitioner the only code that does comparisons on the keys of a column family? What about get_range_slices(), does it only use the partitioner's comparison method? - Sincerely, David G. Boney dbon...@semanticartifacts.com http://www.semanticartifacts.com On Jan 31, 2011, a

Re: A Question about authorize method of IAuthority

2011-01-31 Thread Stu Hood
Our intention was that if you wanted to add another permission like "update" (a subset of "write") then you would return it from the method as part of the EnumSet for that resource. I would see how much trouble it would be to add a new Permission value for "update". Note that Cassandra itself does

unsubscribe

2011-01-31 Thread Craig Faulkner

Re: How to monitor Cassandra's throughput?

2011-01-31 Thread Oleg Proudnikov
Thanks, Aaron! Is StorageProxy only exposed on the seed node? I consistently see it only on a single node that happens to be seed. Oleg

Re: How to monitor Cassandra's throughput?

2011-01-31 Thread Jonathan Ellis
No, but it will only show up on nodes that are handling Thrift connections. (This is a sign you should do a better job distributing the clients around your cluster. :) On Mon, Jan 31, 2011 at 5:07 PM, Oleg Proudnikov wrote: > Thanks, Aaron! > > Is StorageProxy only exposed on the seed node? I co

Re: A Question about authorize method of IAuthority

2011-01-31 Thread indika kumara
Thanks Stu for the information. I have not still looked deeper at the internals of the Cassandra. I just thought the operations such as insert, system_add_column_family, system_add_keyspace in 'Cassandra.Iface' imply an 'add' operation. I just wanted to pass that action to the 'authrorize' method,