From dec3c7d59fad07dbcbd264aab59671be4674d52e Mon Sep 17 00:00:00 2001 From: Fox <89411597+Jinn-Niam@users.noreply.github.com> Date: Tue, 9 Jan 2024 02:22:06 -0500 Subject: [PATCH] [Cassandra 4.x migration Step 2] Use org.apache.cassandra:cassandra-all 4.0.11 (#174) * Remove the cassandra-thrift dependency * Remove request_scheduler from cassandra.yaml since it's deprecated --- pom.xml | 2 +- src/main/resources/cassandra.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 87a6b49..497bcc0 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ under the License. 3.5.4 - 3.11.16 + 4.0.11 1.7.36 2.22.1 1.3.0 diff --git a/src/main/resources/cassandra.yaml b/src/main/resources/cassandra.yaml index 91ff03e..c190d8a 100644 --- a/src/main/resources/cassandra.yaml +++ b/src/main/resources/cassandra.yaml @@ -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. @@ -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 @@ -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. # @@ -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 @@ -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