Re: how to find nodes by row key?

2013-12-06 Thread Daneel Yaitskov
Thanks Rob, There is one thing bothers me. I have complex row key. $ create table b (x int, s text, ((x,s)) primary key); In cqlsh I cannot fill row key partially: $ insert into b (x) values(4); Bad Request: Missing mandatory PRIMARY KEY part s But nodetool can find hosts by incomplete key $

how to find nodes by row key?

2013-12-05 Thread Daneel Yaitskov
Hi, I study cassandra and want to play with it. I need to shrink the number of available row instances. Next send a search request for it in cqlsh with different consistency levels. To observe behavior I need to know which instance to take down. I found cassandra-cli command list. this

Re: how to find nodes by row key?

2013-12-05 Thread Robert Coli
On Thu, Dec 5, 2013 at 9:58 AM, Daneel Yaitskov rtfm.rtfm.r...@gmail.comwrote: The best solution would be get IP address (node UUID) directly by a human readable structured row key. nodetool getendpoints exposes a JMX endpoint which does that. I'm not clear on whether that is sufficient for