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 2020/05/07 14:38:34 UTC

[GitHub] [pulsar] hbs opened a new issue #6907: ${PYTHONPATH} is not expanded thus leading to incorrect environment variable value

hbs opened a new issue #6907:
URL: https://github.com/apache/pulsar/issues/6907


   https://github.com/apache/pulsar/blob/00463adfd5c59958479b9b3a8e26140ab07fd8c1/pulsar-functions/runtime/src/main/java/org/apache/pulsar/functions/runtime/process/ProcessRuntime.java#L347


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



[GitHub] [pulsar] hbs commented on issue #6907: ${PYTHONPATH} is not expanded thus leading to incorrect environment variable value

Posted by GitBox <gi...@apache.org>.
hbs commented on issue #6907:
URL: https://github.com/apache/pulsar/issues/6907#issuecomment-625660598


   The initial intent was probably to expand the value of PYTHONPATH by appending an additional path to it, what actually happens is that the PYTHONPATH variable is set literally to
   
   ${PYTHONPATH}:<NEWPATH>
   
   not <WHATEVER_PYTHONPATH_CONTAINED>:<NEWPATH>
   
   since ${PYTHONPATH} is not expanded


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



[GitHub] [pulsar] sijie commented on issue #6907: ${PYTHONPATH} is not expanded thus leading to incorrect environment variable value

Posted by GitBox <gi...@apache.org>.
sijie commented on issue #6907:
URL: https://github.com/apache/pulsar/issues/6907#issuecomment-625581327


   @hbs I don't understand the issue here. The `${PYTHONPATH}` is an environment variable that is passed to the process's environment. Not sure if we need to expand the value.


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