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

    https://github.com/apache/spark/pull/13599#discussion_r85859164
  
    --- Diff: 
core/src/main/scala/org/apache/spark/api/python/PythonWorkerFactory.scala ---
    @@ -46,6 +50,12 @@ private[spark] class PythonWorkerFactory(pythonExec: 
String, envVars: Map[String
       val daemonWorkers = new mutable.WeakHashMap[Socket, Int]()
       val idleWorkers = new mutable.Queue[Socket]()
       var lastActivity = 0L
    +  val virtualEnvEnabled = 
conf.getBoolean("spark.pyspark.virtualenv.enabled", false)
    +  val virtualEnvType = conf.get("spark.pyspark.virtualenv.type", "native")
    +  val virtualEnvPath = conf.get("spark.pyspark.virtualenv.bin.path", "")
    +  var virtualEnvName: String = _
    +  var virtualPythonExec: String = _
    +
    --- End diff --
    
    Make these private if not required outside of the class


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to