You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/12/02 10:17:00 UTC

[GitHub] [hadoop-ozone] adoroszlai opened a new pull request #287: HDDS-2654. Conditionally enable profiling at the kernel level

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org