Skip to content

Commit

Permalink
[Cassandra 4.x migration Step 2] Use org.apache.cassandra:cassandra-a…
Browse files Browse the repository at this point in the history
…ll 4.0.11 (#174)

* Remove the cassandra-thrift dependency

* Remove request_scheduler from cassandra.yaml since it's deprecated
  • Loading branch information
Jinn-Niam authored Jan 9, 2024
1 parent 20570b6 commit dec3c7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ under the License.

<properties>
<mavenVersion>3.5.4</mavenVersion>
<cassandraVersion>3.11.16</cassandraVersion>
<cassandraVersion>4.0.11</cassandraVersion>
<slf4jVersion>1.7.36</slf4jVersion>
<log4jVersion>2.22.1</log4jVersion>
<commonsLoggingVersion>1.3.0</commonsLoggingVersion>
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/cassandra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ native_transport_port: 9042
# native_transport_max_threads: 128

# Whether to start the thrift rpc server.
start_rpc: false
# start_rpc: true

# The address to bind the Thrift RPC service and native transport
# server -- clients connect here.
Expand All @@ -319,7 +319,7 @@ start_rpc: false
# client drivers.
rpc_address: localhost
# port for Thrift to listen for clients on
rpc_port: 9160
# rpc_port: 9160

# enable or disable keepalive on rpc connections
rpc_keepalive: true
Expand All @@ -341,7 +341,7 @@ rpc_keepalive: true
#
# Alternatively, can provide your own RPC server by providing the fully-qualified class name
# of an o.a.c.t.TServerFactory that can create an instance of it.
rpc_server_type: sync
# rpc_server_type: sync

# Uncomment rpc_min|max_thread to set request pool size limits.
#
Expand Down Expand Up @@ -373,7 +373,7 @@ rpc_server_type: sync
# internode_recv_buff_size_in_bytes:

# Frame size for thrift (maximum message length).
thrift_framed_transport_size_in_mb: 15
# thrift_framed_transport_size_in_mb: 15

# Set to true to have Cassandra create a hard link to each sstable
# flushed or streamed locally in a backups/ subdirectory of the
Expand Down Expand Up @@ -546,7 +546,7 @@ dynamic_snitch_badness_threshold: 0.1
# client requests to a node with a separate queue for each
# request_scheduler_id. The scheduler is further customized by
# request_scheduler_options as described below.
request_scheduler: org.apache.cassandra.scheduler.NoScheduler
# request_scheduler: org.apache.cassandra.scheduler.NoScheduler

# Scheduler Options vary based on the type of scheduler
# NoScheduler - Has no options
Expand Down

0 comments on commit dec3c7d

Please sign in to comment.