adoroszlai opened a new pull request #287: HDDS-2654. Conditionally enable profiling at the kernel level URL: https://github.com/apache/hadoop-ozone/pull/287 ## What changes were proposed in this pull request? Extend `entrypoint.sh` to set the kernel parameters required for profiling if the `ASYNC_PROFILER_HOME` environment variable (used by `ProfileServlet`) is defined. https://issues.apache.org/jira/browse/HDDS-2654 ## How was this patch tested? ``` $ cd hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/compose/ozone $ docker-compose up -d $ docker-compose logs scm | grep 'Enabled profiling' scm_1 | Enabled profiling in kernel # wait for OM $ open http://localhost:9874/prof ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org