Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/664#discussion_r12352548
  
    --- Diff: 
core/src/main/scala/org/apache/spark/api/python/PythonWorkerFactory.scala ---
    @@ -37,6 +37,9 @@ private[spark] class PythonWorkerFactory(pythonExec: 
String, envVars: Map[String
       val daemonHost = InetAddress.getByAddress(Array(127, 0, 0, 1))
       var daemonPort: Int = 0
     
    +  val pythonPath = PythonUtils.mergePythonPaths(
    +    PythonUtils.sparkPythonPath, envVars.getOrElse("PYTHONPATH", ""))
    --- End diff --
    
    Do we want to include `sys.env.getOrElse("PYTHONPATH", "")` here as well? 
Or are we ignoring all PYTHONPATH environment variables altogether?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to