You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/02/15 21:18:46 UTC

[GitHub] prasanthj commented on a change in pull request #491: HDDS-1116. Add java profiler servlet to the Ozone web servers

prasanthj commented on a change in pull request #491: HDDS-1116. Add java profiler servlet to the Ozone web servers
URL: https://github.com/apache/hadoop/pull/491#discussion_r257394453
 
 

 ##########
 File path: hadoop-ozone/dist/src/main/compose/ozone/docker-compose.yaml
 ##########
 @@ -18,6 +18,7 @@ version: "3"
 services:
    datanode:
       image: apache/hadoop-runner
+      privileged: true #required by the profiler
 
 Review comment:
   This can be avoided with initContainer running in privileged mode that updates the following
   ```
               sudo bash -c 'echo 1 > /proc/sys/kernel/perf_event_paranoid'
               sudo bash -c 'echo 0 > /proc/sys/kernel/kptr_restrict'
   ```
   with this initContainer will apply the required changes and will complete. main container can still run in non-previleged mode. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org