aboutsummaryrefslogtreecommitdiff
path: root/system/zookeeper/java.env
diff options
context:
space:
mode:
Diffstat (limited to 'system/zookeeper/java.env')
-rw-r--r--system/zookeeper/java.env19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/zookeeper/java.env b/system/zookeeper/java.env
new file mode 100644
index 0000000000000..efe1e4af77438
--- /dev/null
+++ b/system/zookeeper/java.env
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# See the following page for extensive details on setting
+# up the JVM to accept JMX remote management:
+# http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html
+# by default we allow local JMX connections
+# export JMXLOCALONLY=false
+
+# Disable ZooKeeper JMX
+# export JMXDISABLE=true
+
+# export JMXPORT=
+# export JMXAUTH=false
+# export JMXSSL=false
+# export JMXLOG4J=true
+
+# JVM flags
+# export SERVER_JVMFLAGS=
+# export CLIENT_JVMFLAGS=