You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Rodrigo Ferreira <rk...@gmail.com> on 2011/08/29 15:21:03 UTC

Suggest to change Thrift status string

Hello,

We are putting on some cassandra servers and using a loadbalancer to an 
app connecting at the cluster.
My suggest is to change string that are returned from thrift status, 
because some loadbalancers have a false positive status on we are 
expecting "running" on healthcheck.
I suggest to change "not running" to "stopped" string in this code below.

src/java/org/apache/cassandra/tools/NodeCmd.java

     private void printIsThriftServerRunning(PrintStream outs)
     {
         outs.println(probe.isThriftServerRunning() ? "running" : "not 
running");
     }



Thanks a lot,


Rodrigo Kellermann Ferreira