This article discusses how to configure global properties in DataStax Enterprise Spark.
Global system properties by definition are set for the whole system and shared by all components.
Depending on the version of Spark Cassandra Connector, these properties are not configurable inside a
In order to override the system defaults, set the property by adding it to
For example, the
keep_alive_ms propert cannot be set in
SparkConf in Spark Cassandra Connector v1.1.0 so to change the default period to keep unused connections open, add the following line to
For information on other global system properties, see the Connecting to Cassandra documentation for the Spark Cassandra Connector v1.1.0 on GitHub.