Any way to get a list of per-node token ranges using the DataStax Java driver?

2014-02-28 Thread Clint Kelly
Hi everyone, I've been working on a rewrite of the Cassandra InputFormat for Hadoop 2 using the DataStax Java driver instead of the Thrift API. I have a prototype working now, but there is one bit of code that I have not been able to replace with code for the Java driver. In the

Re: Any way to get a list of per-node token ranges using the DataStax Java driver?

2014-02-28 Thread Tupshin Harper
For the first question, try select * from system.peers http://www.datastax.com/documentation/cql/cql_using/use_query_system_c.html?pagename=docsversion=1.2file=cql_cli/using/query_system_tables For the second, there is a JMX and nodetool command, but I'm not aware of any way to get it directly