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:
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
>
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