Re: Return value of newQueryPlan

2016-09-04 Thread Eric Stevens
For question 2, you can't inform the coordinator that you want it to use a certain node to fulfill the answer. It'll ask several and use the first count which answer that satisfy the consistency constraints. On Fri, Sep 2, 2016, 1:19 PM Siddharth Verma wrote: > I am debugging an issue at our clu

Re: Return value of newQueryPlan

2016-09-02 Thread Siddharth Verma
I am debugging an issue at our cluster. Trying to find the RCA of it, according to our application behavior. Used WhiteList policy(asked a question for the same, some time back) but, it was stated that it can not guarantee the desired behavior. Yes, I forgot to mention, i was referring to Java driv

Re: Return value of newQueryPlan

2016-09-02 Thread Eric Stevens
These sound like driver-side questions that might be better addressed to your specific driver's mailing list. But from the terminology I'd guess you're using a DataStax driver, possibly the Java one. If so, you can look at WhiteListPolicy if you want to target specific node(s). However aside fro

Return value of newQueryPlan

2016-09-02 Thread Siddharth Verma
Hi, I have Dc1(3 nodes), Dc2(3 nodes), RF:3 on both Dcs question 1 : when I create my LoadBalancingPolicy, and override newQueryPlan, the list of hosts from newQueryPlan is the candidate coordinator list? question 2 : Can i force the co-ordintor to hit a particular cassandra node only. I used con