Re: Partitioner type

2013-07-04 Thread Vivek Mishra
Just saw , thrift apis describe_paritioner() method. Thanks for quick suggestions. -Vivek On Thu, Jul 4, 2013 at 5:40 PM, Haithem Jarraya wrote: > yes, you can query local CF in system keyspace: > > select partitioner from system.local; > > > H > > > On 4 July 2013 13:02, Vivek Mishra wrote:

Re: Partitioner type

2013-07-04 Thread Haithem Jarraya
yes, you can query local CF in system keyspace: select partitioner from system.local; H On 4 July 2013 13:02, Vivek Mishra wrote: > Hi, > Is it possible to know, type of partitioner programmitcally at runtime? > > -Vivek >

Re: Partitioner type

2013-07-04 Thread Shubham Mittal
Yeah its possible, It depends on which client you're using. e,g. In pycassa(python client for cassandra), I use >> import pycassa >> from pycassa.system_manager import * >> sys = SystemManager('hostname:portnumber') >> sys.describe_partitioner() On Thu, Jul 4, 2013 at 5:32 PM, Vivek Mishra wr