use alluxio metrics jmx

78 views
Skip to first unread message

maobaol...@gmail.com

unread,
Jan 10, 2017, 10:50:29 PM1/10/17
to Alluxio Developers
  • Modify metrics.properties,append configure properties as follow.
sink.jmx.class=alluxio.metrics.sink.JmxSink

  • Append jvm argument to alluxio-env.sh that relate to jmx to disable authentication and ssl, assigned a port to listen.

ALLUXIO_MASTER_JAVA_OPTS="-Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false $ALLUXIO_JAVA_OPTS"

  • Use jconsole which belong to jdk to connect jmx server to see metrics in MBean page.
$ jconsole localhost:9999

  • If the connection is successful, you can see the follow screenshot.
image



maobaol...@gmail.com

unread,
Jan 11, 2017, 9:08:22 PM1/11/17
to Alluxio Developers
screen shot 


Reply all
Reply to author
Forward
0 new messages