File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ Configure a new Scala project with the Apache Spark and dependency.
1515
1616The dependencies are easily retrieved via Maven Central
1717
18- libraryDependencies += "com.datastax.spark" % "spark-cassandra-connector_2.12" % "3.5.0 "
18+ libraryDependencies += "com.datastax.spark" % "spark-cassandra-connector_2.12" % "3.5.1 "
1919
2020The spark-packages libraries can also be used with spark-submit and spark shell, these
2121commands will place the connector and all of its dependencies on the path of the
2222Spark Driver and all Spark Executors.
2323
24- $SPARK_HOME/bin/spark-shell --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.0
25- $SPARK_HOME/bin/spark-submit --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.0
24+ $SPARK_HOME/bin/spark-shell --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.1
25+ $SPARK_HOME/bin/spark-submit --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.1
2626
2727For the list of available versions, see:
2828- https://repo1.maven.org/maven2/com/datastax/spark/spark-cassandra-connector_2.12/
@@ -42,7 +42,7 @@ and *all* of its dependencies on the Spark Class PathTo configure
4242the default Spark Configuration pass key value pairs with ` --conf `
4343
4444 $SPARK_HOME/bin/spark-shell --conf spark.cassandra.connection.host=127.0.0.1 \
45- --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.0
45+ --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.1
4646 --conf spark.sql.extensions=com.datastax.spark.connector.CassandraSparkExtensions
4747
4848This command would set the Spark Cassandra Connector parameter
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Find additional versions at [Spark Packages](https://repo1.maven.org/maven2/com/
1818``` bash
1919cd spark/install/dir
2020# Include the --master if you want to run against a spark cluster and not local mode
21- ./bin/spark-shell [--master sparkMasterAddress] --jars yourAssemblyJar --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.0 --conf spark.cassandra.connection.host=yourCassandraClusterIp
21+ ./bin/spark-shell [--master sparkMasterAddress] --jars yourAssemblyJar --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.1 --conf spark.cassandra.connection.host=yourCassandraClusterIp
2222```
2323
2424By default spark will log everything to the console and this may be a bit of an overload. To change this copy and modify the ` log4j.properties ` template file
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ shell similarly to how the spark shell is started. The preferred method is now t
1414
1515``` bash
1616./bin/pyspark \
17- --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.0 \
17+ --packages com.datastax.spark:spark-cassandra-connector_2.12:3.5.1 \
1818 --conf spark.sql.extensions=com.datastax.spark.connector.CassandraSparkExtensions
1919```
2020
You can’t perform that action at this time.
0 commit comments