After setting kylin.server.query-metrics-enabled to true, kylin query metrics
will send to JMX.
As for How to collect JMX info:
For prod, you could use any well-known jmxtools to collect JMX info.
For debug and test, you could use jconsole tools:
1. set following commands to setenv.sh

export KYLIN_DEBUG_SETTINGS="-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.port=8416 -Djava.rmi.server.hostname=your
server IP -Dcom.sun.management.jmxremote.rmi.port=8416
-Dcom.sun.management.jmxremote.local.only=false"

2. restart kylin server
3. test a query
4. run jconsole on your local computer
5. connect remote kylin server with ip:port
6. click MBean button and find Hadoop-kylin-*** MBeans.

<http://apache-kylin.74782.x6.nabble.com/file/t705/1.1> 
<http://apache-kylin.74782.x6.nabble.com/file/t705/2.2> 

--
Sent from: http://apache-kylin.74782.x6.nabble.com/

Reply via email to