vepadulano / PyRDF

Python Library for doing ROOT RDataFrame analysis
https://pyrdf.readthedocs.io/en/latest/
9 stars 7 forks source link

Stop Spark Context only when switching to local #75

Closed vepadulano closed 5 years ago

vepadulano commented 5 years ago

Little follow up patch to #62 . SparkContext should be stopped only when switching to a local environment. This is especially important in SWAN, because we rely on the fact that the SWAN notebook session is hooked to the Spark cluster and the Spark Context is provided externally and not started within PyRDF.