This is an automated email from the ASF dual-hosted git repository.
brandonwilliams pushed a commit to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-3.0 by this push:
new 2d8b304 Ninja fix comments saying mx4j defaults to 0.0.0.0
2d8b304 is described below
commit 2d8b304e75805304bde5aab7a9d4d78085079e14
Author: Brandon Williams <[email protected]>
AuthorDate: Tue Jun 29 15:57:55 2021 -0500
Ninja fix comments saying mx4j defaults to 0.0.0.0
CASSANDRA-13574
---
conf/cassandra-env.sh | 2 +-
src/java/org/apache/cassandra/utils/Mx4jTool.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index aa92eac..016e592 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -320,7 +320,7 @@ fi
# To use mx4j, an HTML interface for JMX, add mx4j-tools.jar to the lib/
# directory.
# See http://cassandra.apache.org/doc/3.11/operating/metrics.html#jmx
-# By default mx4j listens on 0.0.0.0:8081. Uncomment the following lines
+# By default mx4j listens on the broadcast_address, port 8081. Uncomment the
following lines
# to control its listen address and port.
#MX4J_ADDRESS="-Dmx4jaddress=127.0.0.1"
#MX4J_PORT="-Dmx4jport=8081"
diff --git a/src/java/org/apache/cassandra/utils/Mx4jTool.java
b/src/java/org/apache/cassandra/utils/Mx4jTool.java
index 77a6013..5895c88 100644
--- a/src/java/org/apache/cassandra/utils/Mx4jTool.java
+++ b/src/java/org/apache/cassandra/utils/Mx4jTool.java
@@ -26,7 +26,7 @@ import org.slf4j.LoggerFactory;
* If mx4j-tools is in the classpath call maybeLoad to load the HTTP interface
of mx4j.
*
* The default port is 8081. To override that provide e.g. -Dmx4jport=8082
- * The default listen address is 0.0.0.0. To override that provide
-Dmx4jaddress=127.0.0.1
+ * The default listen address is the broadcast_address. To override that
provide -Dmx4jaddress=127.0.0.1
*/
public class Mx4jTool
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]