Wei-Chiu Chuang created HDDS-3775:
-------------------------------------

             Summary: Add documentation for flame graph 
                 Key: HDDS-3775
                 URL: https://issues.apache.org/jira/browse/HDDS-3775
             Project: Hadoop Distributed Data Store
          Issue Type: Task
            Reporter: Wei-Chiu Chuang


HDDS-1116 added flame graph but looks like there's no documentation to enable 
it.

To enable it,
add configuration hdds.profiler.endpoint.enabled = true to ozone-site.xml
download the profiler from 
https://github.com/jvm-profiling-tools/async-profiler to a local directory, say 
/tmp and start the DataNode with java system property 
-Dasync.profiler.home=/tmp or environment variable $ASYNC_PROFILER_HOME

and then go to the datanode servlet, say dn1:9883/prof to see the graph.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to