Skip to content

Commit 8e5c5f6

Browse files
committed
Prepare 3.0.0 release
1 parent ee0ba7a commit 8e5c5f6

File tree

6 files changed

+23
-15
lines changed

6 files changed

+23
-15
lines changed

CHANGES.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
3.0.0
2+
* Update Spark to 3.0.1 and commons-lang to 3.9
3+
* Remove full table scans performance regression (SPARKC-614)
4+
* Restore PrefetchingResultSetIterator (SPARKC-619)
5+
* Restore ContinuousPaging properties (SPARKC-606)
6+
* Integration tests work with C* 4.0.0-beta (SPARKC-615)
7+
* Fix USE <catalog> command (SPARKC-615)
18

2-
3-
***************************************************************************
49
3.0.0-beta
510
* Data Source v2 support
611
* Secondary artifact with shaded typesafe.config

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
| What | Where |
66
| ---------- | ----- |
77
| Community | Chat with us at [Datastax and Cassandra Q&A](https://community.datastax.com/index.html) |
8-
| Scala Docs | Most Recent Release (2.5.1): [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/2.5.1/connector/index.html#com.datastax.spark.connector.package), [Spark-Cassandra-Connector-Driver](https://datastax.github.io/spark-cassandra-connector/ApiDocs/2.5.1/driver/#package)|
9-
| Latest Production Release | [2.5.1](https://mvnrepository.com/artifact/com.datastax.spark/spark-cassandra-connector_2.11/2.5.1) |
10-
| Latest Preview Release | [3.0.0-beta](https://mvnrepository.com/artifact/com.datastax.spark/spark-cassandra-connector_2.12/3.0.0-beta) |
8+
| Scala Docs | Most Recent Release (3.0.0): [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.0.0/connector/com/datastax/spark/connector/index.html), [Spark-Cassandra-Connector-Driver](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.0.0/driver/com/datastax/spark/connector/index.html)|
9+
| Latest Production Release | [3.0.0](https://mvnrepository.com/artifact/com.datastax.spark/spark-cassandra-connector_2.12/3.0.0) |
10+
1111
## Features
1212

1313
*Lightning-fast cluster computing with Apache Spark&trade; and Apache Cassandra&reg;.*
@@ -63,6 +63,9 @@ development for the next connector release in progress.
6363
## Hosted API Docs
6464
API documentation for the Scala and Java interfaces are available online:
6565

66+
### 3.0.0
67+
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.0.0/connector/com/datastax/spark/connector/index.html)
68+
6669
### 2.5.1
6770
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/2.5.1/connector/#package)
6871

@@ -80,10 +83,10 @@ This project is available on the Maven Central Repository.
8083
For SBT to download the connector binaries, sources and javadoc, put this in your project
8184
SBT config:
8285

83-
libraryDependencies += "com.datastax.spark" %% "spark-cassandra-connector" % "2.5.1"
86+
libraryDependencies += "com.datastax.spark" %% "spark-cassandra-connector" % "3.0.0"
8487

85-
* The default Scala version for Spark 2.0+ is 2.11 please choose the appropriate build. See the
86-
[FAQ](doc/FAQ.md) for more information
88+
* The default Scala version for Spark 3.0+ is 2.12 please choose the appropriate build. See the
89+
[FAQ](doc/FAQ.md) for more information.
8790

8891
## Building
8992
See [Building And Artifacts](doc/12_building_and_artifacts.md)

connector/src/test/java/com/datastax/spark/connector/CassandraJavaUtilTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
public class CassandraJavaUtilTest {
3333

3434
/**
35-
* Scala refelection type tags change the string reprsentation of some types, in scala 2.11 java.lang
35+
* Scala reflection type tags change the string reprsentation of some types, in scala 2.11 java.lang
3636
* is included, in scala 2.12 it is removed. To remove this conflict we just always remove the java.lang
3737
* portion
3838
*/

doc/0_quick_start.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ Configure a new Scala project with the Apache Spark and dependency.
1515

1616
The dependencies are easily retrieved via Maven Central
1717

18-
libraryDependencies += "com.datastax.spark" % "spark-cassandra-connector_2.12" % "3.0.0-beta"
18+
libraryDependencies += "com.datastax.spark" % "spark-cassandra-connector_2.12" % "3.0.0"
1919

2020
The spark-packages libraries can also be used with spark-submit and spark shell, these
2121
commands will place the connector and all of its dependencies on the path of the
2222
Spark Driver and all Spark Executors.
2323

24-
$SPARK_HOME/bin/spark-shell --packages com.datastax.spark:spark-cassandra-connector_2.12:3.0.0-beta
25-
$SPARK_HOME/bin/spark-submit --packages com.datastax.spark:spark-cassandra-connector_2.12:3.0.0-beta
24+
$SPARK_HOME/bin/spark-shell --packages com.datastax.spark:spark-cassandra-connector_2.12:3.0.0
25+
$SPARK_HOME/bin/spark-submit --packages com.datastax.spark:spark-cassandra-connector_2.12:3.0.0
2626

2727
For 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
4242
the 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.0.0-beta
45+
--packages com.datastax.spark:spark-cassandra-connector_2.12:3.0.0
4646
--conf spark.sql.extensions=com.datastax.spark.connector.CassandraSparkExtensions
4747

4848
This command would set the Spark Cassandra Connector parameter

doc/13_spark_shell.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Find additional versions at [Spark Packages](https://repo1.maven.org/maven2/com/
1818
```bash
1919
cd 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.11:2.5.1 --conf spark.cassandra.connection.host=yourCassandraClusterIp
21+
./bin/spark-shell [--master sparkMasterAddress] --jars yourAssemblyJar --packages com.datastax.spark:spark-cassandra-connector_2.12:3.0.0 --conf spark.cassandra.connection.host=yourCassandraClusterIp
2222
```
2323

2424
By 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

doc/15_python.md

+1-1
Original file line numberDiff line numberDiff 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.11:2.5.1 \
17+
--packages com.datastax.spark:spark-cassandra-connector_2.12:3.0.0 \
1818
--conf spark.sql.extensions=com.datastax.spark.connector.CassandraSparkExtensions
1919
```
2020

0 commit comments

Comments
 (0)