Github user vanzin commented on the issue:

    https://github.com/apache/spark/pull/14959
  
    The conf code looks kinda nasty with the checks for whether a JVM has been 
set or not... I guess part of it is mandatory because otherwise this wouldn't 
work, but in particular, I'm not so sure the `_set_jvm` code is necessary.
    
    If you just say `self._conf = SparkConf(_jvm=self._jvm)` in `SparkContext`, 
it should maintain the current behavior. Especially since the Scala 
`SparkContext` clones the original user config - and if I read your code 
correctly, you're not doing that here.


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