Github user davies commented on a diff in the pull request:
https://github.com/apache/spark/pull/1791#discussion_r16209516
--- Diff: python/pyspark/context.py ---
@@ -260,6 +260,20 @@ def defaultMinPartitions(self):
"""
return self._jsc.sc().defaultMinPartitions()
+ @property
+ def isLocal(self):
+ """
+ Whether the context run locally
+ """
+ return self._jsc.isLocal()
+
+ @property
+ def conf(self):
+ """
+ The L{SparkConf} object
+ """
+ return self._conf
--- End diff --
I will return an read-only copy of it.
---
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]