Check if a Spark connection is open
spark_connect(master, spark_home = Sys.getenv("SPARK_HOME"), app_name = "sparklyr", version = NULL, hadoop_version = NULL, config = spark_config(), extensions = sparkapi::registered_extensions())
spark_connection_is_open(sc)
"local"
to connect to a local
instance of Spark installed via spark_install
.SPARK_HOME
is defined it will be always be used unless the version
paramater is specified to force the use of a locally installed version.spark_config for details
).sparkapi::register_extension
.spark_connection
spark_disconnect