You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/14 13:57:16 UTC

[GitHub] mhenke1 commented on issue #3432: Introduce jmx for kafka

mhenke1 commented on issue #3432: Introduce jmx for kafka
URL: https://github.com/apache/incubator-openwhisk/pull/3432#issuecomment-373029498
 
 
   @ningyougang 
   The reason for your problems is that the uid of the root user on the vm (where Ansible does work) and the uid of the root user inside the container (which is used at runtime) are different . 
   So setting the access rights in Ansible does not work. 
   For the same reason setting the access rights  of a mounted file system does not work 
   when issued from the container.
   
   We encountered the same problem with containers and invokers. 
   Our solution was to write a container startup script (`open/common/scala/copyJMXFiles.sh`) 
   which copies the jmx related files into the container filesystem and changes a the access rights afterwards. 

----------------------------------------------------------------
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