Attila Doroszlai created HDDS-2654: -------------------------------------- Summary: Conditionally enable profiling at the kernel level Key: HDDS-2654 URL: https://issues.apache.org/jira/browse/HDDS-2654 Project: Hadoop Distributed Data Store Issue Type: Improvement Components: docker Reporter: Attila Doroszlai Assignee: Attila Doroszlai
Extend {{entrypoint.sh}} to set the kernel parameters required for profiling if the {{ASYNC_PROFILER_ENABLED}} environment variable is set. Ref: {code:title=https://cwiki.apache.org/confluence/display/HADOOP/Java+Profiling+of+Ozone} echo 1 > /proc/sys/kernel/perf_event_paranoid echo 0 > /proc/sys/kernel/kptr_restrict {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org