You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2012/05/16 01:02:40 UTC
[4/6] git commit: Report thrift status in nodetool info. Patch by
Dave Brosius, reviewed by brandonwilliams for CASSANDRA-4010
Report thrift status in nodetool info.
Patch by Dave Brosius, reviewed by brandonwilliams for CASSANDRA-4010
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/0077edc9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/0077edc9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/0077edc9
Branch: refs/heads/trunk
Commit: 0077edc946a3f8520b3366ee3ace0d6f029651e5
Parents: be9fa05
Author: Brandon Williams <br...@apache.org>
Authored: Tue May 15 18:01:47 2012 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Tue May 15 18:01:47 2012 -0500
----------------------------------------------------------------------
src/java/org/apache/cassandra/tools/NodeCmd.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/0077edc9/src/java/org/apache/cassandra/tools/NodeCmd.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java b/src/java/org/apache/cassandra/tools/NodeCmd.java
index c369771..066d757 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -293,6 +293,7 @@ public class NodeCmd
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());