Skip to content

Commit

Permalink
Report thrift status in nodetool info.
Browse files Browse the repository at this point in the history
Patch by Dave Brosius, reviewed by brandonwilliams for CASSANDRA-4010
  • Loading branch information
driftx committed May 15, 2012
1 parent be9fa05 commit 0077edc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/java/org/apache/cassandra/tools/NodeCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ public void printInfo(PrintStream outs)
boolean gossipInitialized = probe.isInitialized();
outs.printf("%-17s: %s%n", "Token", probe.getToken());
outs.printf("%-17s: %s%n", "Gossip active", gossipInitialized);
outs.printf("%-17s: %s%n", "Thrift active", probe.isThriftServerRunning());
outs.printf("%-17s: %s%n", "Load", probe.getLoadString());
if (gossipInitialized)
outs.printf("%-17s: %s%n", "Generation No", probe.getCurrentGenerationNumber());
Expand Down

0 comments on commit 0077edc

Please sign in to comment.