Support connecting to ipv6 jmx with nodetool patch by Robert Stupp; reviewed by jbellis for CASSANDRA-7669
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/4a9634a3 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/4a9634a3 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/4a9634a3 Branch: refs/heads/cassandra-2.1 Commit: 4a9634a31ea7bbdf3b6c0173a94e6ab3911bc989 Parents: 0dd39c6 Author: Jonathan Ellis <jbel...@apache.org> Authored: Mon Aug 4 12:02:19 2014 -0500 Committer: Jonathan Ellis <jbel...@apache.org> Committed: Mon Aug 4 12:02:19 2014 -0500 ---------------------------------------------------------------------- CHANGES.txt | 3 +++ src/java/org/apache/cassandra/tools/NodeProbe.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/4a9634a3/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index b60d1d9..ed04b63 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,14 +1,17 @@ 1.2.19 + * Support connecting to ipv6 jmx with nodetool (CASSANDRA-7669) * Set gc_grace_seconds to seven days for system schema tables (CASSANDRA-7668) * SimpleSeedProvider no longer caches seeds forever (CASSANDRA-7663) * Set correct stream ID on responses when non-Exception Throwables are thrown while handling native protocol messages (CASSANDRA-7470) * Fix row size miscalculation in LazilyCompactedRow (CASSANDRA-7543) + 1.2.18 * Support Thrift tables clustering columns on CqlPagingInputFormat (CASSANDRA-7445) * Fix compilation with java 6 broke by CASSANDRA-7147 + 1.2.17 * cqlsh: Fix CompositeType columns in DESCRIBE TABLE output (CASSANDRA-7399) * Expose global ColumnFamily metrics (CASSANDRA-7273) http://git-wip-us.apache.org/repos/asf/cassandra/blob/4a9634a3/src/java/org/apache/cassandra/tools/NodeProbe.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/tools/NodeProbe.java b/src/java/org/apache/cassandra/tools/NodeProbe.java index d2393ca..60f8137 100644 --- a/src/java/org/apache/cassandra/tools/NodeProbe.java +++ b/src/java/org/apache/cassandra/tools/NodeProbe.java @@ -60,7 +60,7 @@ import org.apache.cassandra.utils.SimpleCondition; */ public class NodeProbe { - private static final String fmtUrl = "service:jmx:rmi:///jndi/rmi://%s:%d/jmxrmi"; + private static final String fmtUrl = "service:jmx:rmi:///jndi/rmi://[%s]:%d/jmxrmi"; private static final String ssObjName = "org.apache.cassandra.db:type=StorageService"; private static final int defaultPort = 7199; final String host;