You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/15 15:34:35 UTC

[GitHub] [pulsar] thesquiff opened a new issue #12052: Java Sinks/Sources fail due to noexec on /tmp - no way to override JVM options for spawned processes

thesquiff opened a new issue #12052:
URL: https://github.com/apache/pulsar/issues/12052


   There is no way to provide additional (and configurable) -D options to java processes started by RuntimeUtils.java of pulsar-functions-runtime. 
   
   More specifically, when attempting to start a source/sink using Pulsar 2.8 / Centos7 there are Java JNI binaries that appear to extract to /tmp and execute from /tmp. Our corporate policy is to have noexec specified for /tmp and so alternative paths need to be specified using -D options. There is currently no way to pass these options to the spawned processes however. 
   
   I have tried various other methods such as setting _JAVA_OPTIONS but with no success. 
   
   Currently the only workaround I have found is to rebuild pulsar-functions-runtime with the additional options hardcoded and replacing the package in the lib folder.


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on issue #12052: Java Sinks/Sources fail due to noexec on /tmp - no way to override JVM options for spawned processes

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12052:
URL: https://github.com/apache/pulsar/issues/12052#issuecomment-1056055682


   The issue had no activity for 30 days, mark with Stale label.


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org