You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sl...@apache.org on 2013/07/09 13:25:20 UTC
git commit: Expose native protocol server status in nodetool info
Updated Branches:
refs/heads/cassandra-1.2 c1d71213b -> f57b89a9c
Expose native protocol server status in nodetool info
patch by mkmainali; reviewed by slebresne for CASSANDRA-5735
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f57b89a9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f57b89a9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f57b89a9
Branch: refs/heads/cassandra-1.2
Commit: f57b89a9c2271367151fee7747913a74936cc830
Parents: c1d7121
Author: Sylvain Lebresne <sy...@datastax.com>
Authored: Tue Jul 9 13:19:31 2013 +0200
Committer: Sylvain Lebresne <sy...@datastax.com>
Committed: Tue Jul 9 13:21:24 2013 +0200
----------------------------------------------------------------------
CHANGES.txt | 2 +-
src/java/org/apache/cassandra/tools/NodeCmd.java | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra/blob/f57b89a9/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 65dd404..34235cf 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -10,7 +10,7 @@
* Expire entries out of ThriftSessionManager (CASSANRDA-5719)
* Don't keep ancestor information in memory (CASSANDRA-5342)
* cqlsh: fix handling of semicolons inside BATCH queries (CASSANDRA-5697)
-
+ * Expose native protocol server status in nodetool info (CASSANDRA-5735)
1.2.6
* Fix tracing when operation completes before all responses arrive
http://git-wip-us.apache.org/repos/asf/cassandra/blob/f57b89a9/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 1cb30ad..dce83b8 100644
--- a/src/java/org/apache/cassandra/tools/NodeCmd.java
+++ b/src/java/org/apache/cassandra/tools/NodeCmd.java
@@ -560,6 +560,7 @@ public class NodeCmd
outs.printf("%-17s: %s%n", "ID", probe.getLocalHostId());
outs.printf("%-17s: %s%n", "Gossip active", gossipInitialized);
outs.printf("%-17s: %s%n", "Thrift active", probe.isThriftServerRunning());
+ outs.printf("%-17s: %s%n", "Native Transport active", probe.isNativeTransportRunning());
outs.printf("%-17s: %s%n", "Load", probe.getLoadString());
if (gossipInitialized)
outs.printf("%-17s: %s%n", "Generation No", probe.getCurrentGenerationNumber());