Skip to content

Commit 08bf6eb

Browse files
authored
Merge pull request #1299 from msmygit/b2.5
SPARKC-640 Upgrade Java Driver to 4.10.0
2 parents 0c3f497 + c7357f2 commit 08bf6eb

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ env:
2828
- TEST_PARALLEL_TASKS=1 #Times out on 2
2929

3030
jobs:
31-
- CCM_CASSANDRA_VERSION=3.11.6
31+
- CCM_CASSANDRA_VERSION=3.11.9
3232
- CCM_CASSANDRA_VERSION=3.0.20
33+
- CCM_CASSANDRA_VERSION=4.0-beta4
3334
- CCM_CASSANDRA_VERSION=2.1.21
34-
- CCM_CASSANDRA_VERSION=6.0.11 CCM_IS_DSE=true DSE_VERSION=6.0.11 CCM_SERVER_TYPE=dse
35-
- CCM_CASSANDRA_VERSION=6.8.5 CCM_IS_DSE=true DSE_VERSION=6.8.5 CCM_SERVER_TYPE=dse
35+
- CCM_CASSANDRA_VERSION=6.0.14 CCM_IS_DSE=true DSE_VERSION=6.0.14 CCM_SERVER_TYPE=dse
36+
- CCM_CASSANDRA_VERSION=6.7.12 CCM_IS_DSE=true DSE_VERSION=6.7.12 CCM_SERVER_TYPE=dse
37+
- CCM_CASSANDRA_VERSION=6.8.9 CCM_IS_DSE=true DSE_VERSION=6.8.9 CCM_SERVER_TYPE=dse
3638

3739
install:
3840
- pip install --user ccm

driver/src/main/scala/com/datastax/spark/connector/cql/LocalNodeFirstLoadBalancingPolicy.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import com.datastax.oss.driver.api.core.session.{Request, Session}
1515
import com.datastax.oss.driver.internal.core.context.InternalDriverContext
1616
import com.datastax.oss.driver.internal.core.metadata.MetadataManager
1717
import com.datastax.oss.driver.internal.core.util.Reflection
18-
import com.datastax.oss.driver.internal.core.util.collection.QueryPlan
18+
import com.datastax.oss.driver.internal.core.util.collection.SimpleQueryPlan
1919
import com.datastax.spark.connector.cql.LocalNodeFirstLoadBalancingPolicy.{LoadBalancingShuffleNodes, _}
2020
import com.datastax.spark.connector.util.DriverUtil.{toAddress, toOption}
2121

@@ -119,7 +119,7 @@ class LocalNodeFirstLoadBalancingPolicy(context: DriverContext, profileName: Str
119119
} else {
120120
tokenUnawareQueryPlan(request)
121121
}
122-
new QueryPlan(nodes: _*)
122+
new SimpleQueryPlan(nodes: _*)
123123
}
124124

125125
override def onAdd(node: Node) {

project/Versions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ object Versions {
55
val CommonsLang3 = "3.5"
66
val Paranamer = "2.8"
77

8-
val DataStaxJavaDriver = "4.9.0"
8+
val DataStaxJavaDriver = "4.10.0"
99

1010
val ScalaCheck = "1.14.0"
1111
val ScalaTest = "3.0.8"

0 commit comments

Comments
 (0)