Sample Header Ad - 728x90

Cassandra cluster does not run in docker-compose after migration from version 4.1.9 to version 5.0.4

1 vote
1 answer
52 views
I had Cassandra cluster for tests that was run from docker-compose.yml.
services:
  cassandra1:
    image: cassandra:4.1.9
    container_name: cassandra1
    hostname: cassandra1
    networks:
      - cassandra-net
    ports:
      - "7002:7000"
      - "7003:7001"
      - "7200:7199"
      - "9043:9042"
      - "9161:9160"
    environment: &cassandra_config
      CASSANDRA_START_RPC: true
      CASSANDRA_RPC_ADDRESS: 0.0.0.0
      CASSANDRA_LISTEN_ADDRESS: auto
      CASSANDRA_SEEDS: cassandra1, cassandra2
      CASSANDRA_CLUSTER_NAME: my-cluster
      CASSANDRA_DC: datacenter1
      CASSANDRA_RACK: rack1
      CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch
      CASSANDRA_NUM_TOKENS: 16
    volumes:
      - cassandra-1:/var/lib/cassandra:rw
    restart: on-failure
    healthcheck:
      test: [ "CMD-SHELL", "nodetool status" ]
      interval: 2m
      start_period: 2m
      timeout: 10s
      retries: 3

  cassandra2:
    image: cassandra:4.1.9
    container_name: cassandra2
    hostname: cassandra2
    networks:
      - cassandra-net
    ports:
      - "7004:7000"
      - "7005:7001"
      - "7201:7199"
      - "9044:9042"
      - "9162:9160"
    environment: *cassandra_config
    depends_on:
      cassandra1:
        condition: service_healthy
    volumes:
      - cassandra-2:/var/lib/cassandra:rw
    restart: on-failure
    healthcheck:
      test: [ "CMD-SHELL", "nodetool status" ]
      interval: 2m
      start_period: 2m
      timeout: 10s
      retries: 3

  cassandra3:
    image: cassandra:4.1.9
    container_name: cassandra3
    hostname: cassandra3
    networks:
      - cassandra-net
    ports:
      - "7006:7000"
      - "7007:7001"
      - "7202:7199"
      - "9045:9042"
      - "9163:9160"
    environment: *cassandra_config
    depends_on:
      cassandra2:
        condition: service_healthy
    volumes:
      - cassandra-3:/var/lib/cassandra:rw
    restart: on-failure
    healthcheck:
      test: [ "CMD-SHELL", "nodetool status" ]
      interval: 2m
      start_period: 2m
      timeout: 10s
      retries: 3

volumes:
  cassandra-1:
  cassandra-2:
  cassandra-3:

networks:
  cassandra-net:
    driver: bridge
This cluster of **Cassandra version 4.1.9** starts and runs without any problems. But at the project we have to use **Cassandra version 5.0.4**. And I'm trying to run Cassandra cluster of version 5.0.4 from docker-compose.yml for testing.
services:
  cassandra1:
    image: cassandra:5.0.4
    container_name: cassandra1
    hostname: cassandra1
    networks:
      - cassandra-net
    ports:
      - "7002:7000"
      - "7003:7001"
      - "7200:7199"
      - "9043:9042"
      - "9161:9160"
    environment: &cassandra_config
      CASSANDRA_START_RPC: true
      CASSANDRA_RPC_ADDRESS: 0.0.0.0
      CASSANDRA_LISTEN_ADDRESS: auto
      CASSANDRA_BROADCAST_ADDRESS: auto
      CASSANDRA_SEEDS: cassandra1, cassandra2
      CASSANDRA_CLUSTER_NAME: my-cluster
      CASSANDRA_DC: datacenter1
      CASSANDRA_RACK: rack1
      CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch
      CASSANDRA_NUM_TOKENS: 16
    volumes:
      - cassandra-1:/var/lib/cassandra:rw
    restart: on-failure
    healthcheck:
      test: ["CMD", "cqlsh", "-e", "describe keyspaces" ]
      interval: 2m
      start_period: 2m
      timeout: 10s
      retries: 3

  cassandra2:
    image: cassandra:5.0.4
    container_name: cassandra2
    hostname: cassandra2
    networks:
      - cassandra-net
    ports:
      - "7004:7000"
      - "7005:7001"
      - "7201:7199"
      - "9044:9042"
      - "9162:9160"
    environment: *cassandra_config
    depends_on:
      cassandra1:
        condition: service_healthy
    volumes:
      - cassandra-2:/var/lib/cassandra:rw
    restart: on-failure
    healthcheck:
      test: ["CMD", "cqlsh", "-e", "describe keyspaces" ]
      interval: 2m
      start_period: 2m
      timeout: 10s
      retries: 3

  cassandra3:
    image: cassandra:5.0.4
    container_name: cassandra3
    hostname: cassandra3
    networks:
      - cassandra-net
    ports:
      - "7006:7000"
      - "7007:7001"
      - "7202:7199"
      - "9045:9042"
      - "9163:9160"
    environment: *cassandra_config
    depends_on:
      cassandra2:
        condition: service_healthy
    volumes:
      - cassandra-3:/var/lib/cassandra:rw
    restart: on-failure
    healthcheck:
      test: ["CMD", "cqlsh", "-e", "describe keyspaces" ]
      interval: 2m
      start_period: 2m
      timeout: 10s
      retries: 3

volumes:
  cassandra-1:
  cassandra-2:
  cassandra-3:

networks:
  cassandra-net:
    driver: bridge
Cassandra cluster of version 5.0.4 does not work. When I'm running this docker-compose file, only 2 nodes start. that is restarting periodically. Here are logs by nodes: - cassandra1:
...
2025-06-19 08:55:15.829 | WARNING: A terminally deprecated method in java.lang.System has been called
2025-06-19 08:55:15.829 | WARNING: System::setSecurityManager has been called by org.apache.cassandra.security.ThreadAwareSecurityManager (file:/opt/cassandra/lib/apache-cassandra-5.0.4.jar)
2025-06-19 08:55:15.829 | WARNING: Please consider reporting this to the maintainers of org.apache.cassandra.security.ThreadAwareSecurityManager
2025-06-19 08:55:15.829 | WARNING: System::setSecurityManager will be removed in a future release
2025-06-19 08:55:15.835 | INFO  [main] 2025-06-19 05:55:15,834 CassandraDaemon.java:602 - Hostname: cassandra1:7000:7001
2025-06-19 08:55:15.835 | INFO  [main] 2025-06-19 05:55:15,834 CassandraDaemon.java:609 - JVM vendor/version: OpenJDK 64-Bit Server VM/17.0.15
2025-06-19 08:55:15.836 | INFO  [main] 2025-06-19 05:55:15,836 CassandraDaemon.java:610 - Heap size: 3.813GiB/3.813GiB
...
2025-06-19 08:55:15.843 | INFO  [main] 2025-06-19 05:55:15,842 CassandraDaemon.java:617 - Classpath:
...
2025-06-19 08:55:44.422 | INFO  [main] 2025-06-19 05:55:44,422 AbstractCryptoProvider.java:140 - AmazonCorrettoCryptoProvider health check OK.
2025-06-19 08:55:44.423 | INFO  [main] 2025-06-19 05:55:44,422 DatabaseDescriptor.java:548 - DiskAccessMode is standard, indexAccessMode is mmap
2025-06-19 08:55:44.423 | INFO  [main] 2025-06-19 05:55:44,422 DatabaseDescriptor.java:587 - Global memtable on-heap threshold is enabled at 976MiB
2025-06-19 08:55:44.423 | INFO  [main] 2025-06-19 05:55:44,423 DatabaseDescriptor.java:591 - Global memtable off-heap threshold is enabled at 976MiB
2025-06-19 08:55:44.442 | INFO  [main] 2025-06-19 05:55:44,442 DatabaseDescriptor.java:639 - commitlog_disk_access_mode resolved to: mmap
2025-06-19 08:55:44.443 | INFO  [main] 2025-06-19 05:55:44,442 DatabaseDescriptor.java:659 - Native transport rate-limiting disabled.
2025-06-19 08:55:44.736 | INFO  [main] 2025-06-19 05:55:44,735 GossipingPropertyFileSnitch.java:67 - Unable to load cassandra-topology.properties; compatibility mode disabled
2025-06-19 08:55:44.887 | INFO  [main] 2025-06-19 05:55:44,886 JMXServerUtils.java:284 - Configured JMX server at: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:7199/jmxrmi
2025-06-19 08:55:44.890 | WARNING: A terminally deprecated method in java.lang.System has been called
2025-06-19 08:55:44.890 | WARNING: System::setSecurityManager has been called by org.apache.cassandra.security.ThreadAwareSecurityManager (file:/opt/cassandra/lib/apache-cassandra-5.0.4.jar)
2025-06-19 08:55:44.890 | WARNING: Please consider reporting this to the maintainers of org.apache.cassandra.security.ThreadAwareSecurityManager
2025-06-19 08:55:44.890 | WARNING: System::setSecurityManager will be removed in a future release
2025-06-19 08:55:44.897 | INFO  [main] 2025-06-19 05:55:44,896 CassandraDaemon.java:602 - Hostname: cassandra1:7000:7001
2025-06-19 08:55:44.897 | INFO  [main] 2025-06-19 05:55:44,897 CassandraDaemon.java:609 - JVM vendor/version: OpenJDK 64-Bit Server VM/17.0.15
2025-06-19 08:55:44.899 | INFO  [main] 2025-06-19 05:55:44,898 CassandraDaemon.java:610 - Heap size: 3.813GiB/3.813GiB
...
- cassandra2:
...
2025-06-19 08:55:15.410 | INFO  [main] 2025-06-19 05:55:15,409 AbstractCryptoProvider.java:140 - AmazonCorrettoCryptoProvider health check OK.
2025-06-19 08:55:15.410 | INFO  [main] 2025-06-19 05:55:15,410 DatabaseDescriptor.java:548 - DiskAccessMode is standard, indexAccessMode is mmap
2025-06-19 08:55:15.411 | INFO  [main] 2025-06-19 05:55:15,410 DatabaseDescriptor.java:587 - Global memtable on-heap threshold is enabled at 976MiB
2025-06-19 08:55:15.411 | INFO  [main] 2025-06-19 05:55:15,411 DatabaseDescriptor.java:591 - Global memtable off-heap threshold is enabled at 976MiB
2025-06-19 08:55:15.426 | INFO  [main] 2025-06-19 05:55:15,426 DatabaseDescriptor.java:639 - commitlog_disk_access_mode resolved to: mmap
2025-06-19 08:55:15.426 | INFO  [main] 2025-06-19 05:55:15,426 DatabaseDescriptor.java:659 - Native transport rate-limiting disabled.
2025-06-19 08:55:15.698 | INFO  [main] 2025-06-19 05:55:15,697 GossipingPropertyFileSnitch.java:67 - Unable to load cassandra-topology.properties; compatibility mode disabled
2025-06-19 08:55:15.818 | INFO  [main] 2025-06-19 05:55:15,817 JMXServerUtils.java:284 - Configured JMX server at: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:7199/jmxrmi
2025-06-19 08:55:15.829 | WARNING: A terminally deprecated method in java.lang.System has been called
2025-06-19 08:55:15.829 | WARNING: System::setSecurityManager has been called by org.apache.cassandra.security.ThreadAwareSecurityManager (file:/opt/cassandra/lib/apache-cassandra-5.0.4.jar)
2025-06-19 08:55:15.829 | WARNING: Please consider reporting this to the maintainers of org.apache.cassandra.security.ThreadAwareSecurityManager
2025-06-19 08:55:15.829 | WARNING: System::setSecurityManager will be removed in a future release
2025-06-19 08:55:15.835 | INFO  [main] 2025-06-19 05:55:15,834 CassandraDaemon.java:602 - Hostname: cassandra1:7000:7001
2025-06-19 08:55:15.835 | INFO  [main] 2025-06-19 05:55:15,834 CassandraDaemon.java:609 - JVM vendor/version: OpenJDK 64-Bit Server VM/17.0.15
2025-06-19 08:55:15.836 | INFO  [main] 2025-06-19 05:55:15,836 CassandraDaemon.java:610 - Heap size: 3.813GiB/3.813GiB
2025-06-19 08:55:15.838 | INFO  [main] 2025-06-19 05:55:15,837 CassandraDaemon.java:615 - CodeHeap 'non-nmethods' Non-heap memory: init = 2555904(2496K) used = 1333632(1302K) committed = 2555904(2496K) max = 7606272(7428K)
2025-06-19 08:55:15.839 | INFO  [main] 2025-06-19 05:55:15,838 CassandraDaemon.java:615 - Metaspace Non-heap memory: init = 0(0K) used = 21956984(21442K) committed = 22282240(21760K) max = -1(-1K)
2025-06-19 08:55:15.839 | INFO  [main] 2025-06-19 05:55:15,838 CassandraDaemon.java:615 - CodeHeap 'profiled nmethods' Non-heap memory: init = 2555904(2496K) used = 5859328(5722K) committed = 5898240(5760K) max = 122023936(119164K)
2025-06-19 08:55:15.839 | INFO  [main] 2025-06-19 05:55:15,839 CassandraDaemon.java:615 - Compressed Class Space Non-heap memory: init = 0(0K) used = 2654880(2592K) committed = 2818048(2752K) max = 1073741824(1048576K)
2025-06-19 08:55:15.841 | INFO  [main] 2025-06-19 05:55:15,839 CassandraDaemon.java:615 - G1 Eden Space Heap memory: init = 2164260864(2113536K) used = 184549376(180224K) committed = 2164260864(2113536K) max = -1(-1K)
2025-06-19 08:55:15.842 | INFO  [main] 2025-06-19 05:55:15,841 CassandraDaemon.java:615 - G1 Old Gen Heap memory: init = 1929379840(1884160K) used = 15577088(15212K) committed = 1929379840(1884160K) max = 4093640704(3997696K)
2025-06-19 08:55:15.842 | INFO  [main] 2025-06-19 05:55:15,842 CassandraDaemon.java:615 - G1 Survivor Space Heap memory: init = 0(0K) used = 12166080(11880K) committed = 16777216(16384K) max = -1(-1K)
2025-06-19 08:55:15.842 | INFO  [main] 2025-06-19 05:55:15,842 CassandraDaemon.java:615 - CodeHeap 'non-profiled nmethods' Non-heap memory: init = 2555904(2496K) used = 1085824(1060K) committed = 2555904(2496K) max = 122028032(119168K)
2025-06-19 08:55:15.843 | INFO  [main] 2025-06-19 05:55:15,842 CassandraDaemon.java:617 - Classpath:
...
2025-06-19 08:55:43.302 | CompileCommand: dontinline org/apache/cassandra/db/Columns$Serializer.deserializeLargeSubset(Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/db/Columns;I)Lorg/apache/cassandra/db/Columns; bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/db/Columns$Serializer.serializeLargeSubset(Ljava/util/Collection;ILorg/apache/cassandra/db/Columns;ILorg/apache/cassandra/io/util/DataOutputPlus;)V bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/db/Columns$Serializer.serializeLargeSubsetSize(Ljava/util/Collection;ILorg/apache/cassandra/db/Columns;I)I bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/db/commitlog/AbstractCommitLogSegmentManager.advanceAllocatingFrom(Lorg/apache/cassandra/db/commitlog/CommitLogSegment;)V bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/db/transform/BaseIterator.tryGetMoreContents()Z bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/db/transform/StoppingTransformation.stop()V bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/db/transform/StoppingTransformation.stopInPartition()V bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.doFlush(I)V bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.writeSlow(JI)V bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: dontinline org/apache/cassandra/io/util/RebufferingInputStream.readPrimitiveSlowly(I)J bool dontinline = true
2025-06-19 08:55:43.328 | CompileCommand: exclude org/apache/cassandra/utils/JVMStabilityInspector.forceHeapSpaceOomMaybe(Ljava/lang/OutOfMemoryError;)V bool exclude = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/db/NativeDecoratedKey.address()J bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/db/NativeDecoratedKey.length()I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/db/rows/UnfilteredSerializer.serializeRowBody(Lorg/apache/cassandra/db/rows/Row;ILorg/apache/cassandra/db/rows/SerializationHelper;Lorg/apache/cassandra/io/util/DataOutputPlus;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/io/util/Memory.checkBounds(JJ)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/io/util/SafeMemory.checkBounds(JJ)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/io/util/TrackedDataInputPlus.checkCanRead(I)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/net/FrameDecoderWith8bHeader.decode(Ljava/util/Collection;Lorg/apache/cassandra/net/ShareableBytes;I)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/service/reads/repair/RowIteratorMergeListener.applyToPartition(ILjava/util/function/Consumer;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/AsymmetricOrdering.selectBoundary(Lorg/apache/cassandra/utils/AsymmetricOrdering/Op;II)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/AsymmetricOrdering.strictnessOfLessThan(Lorg/apache/cassandra/utils/AsymmetricOrdering/Op;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/BloomFilter.indexes(Lorg/apache/cassandra/utils/IFilter/FilterKey;)[J bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/BloomFilter.setIndexes(JJIJ[J)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/ByteBufferUtil.compare(Ljava/nio/ByteBuffer;[B)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/ByteBufferUtil.compare([BLjava/nio/ByteBuffer;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/ByteBufferUtil.compareUnsigned(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo(Ljava/lang/Object;JILjava/lang/Object;JI)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo(Ljava/lang/Object;JILjava/nio/ByteBuffer;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/Awaitable$AsyncAwaitable.await(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/util/function/Predicate;Lorg/apache/cassandra/utils/concurrent/Awaitable;)Lorg/apache/cassandra/utils/concurrent/Awaitable; bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/Awaitable$AsyncAwaitable.awaitUntil(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/util/function/Predicate;Lorg/apache/cassandra/utils/concurrent/Awaitable;J)Z bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/Awaitable$AsyncAwaitable.register(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/util/function/Predicate;Lorg/apache/cassandra/utils/concurrent/Awaitable;)Lorg/apache/cassandra/utils/concurrent/WaitQueue/Signal; bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/Awaitable$AsyncAwaitable.signalAll(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Lorg/apache/cassandra/utils/concurrent/Awaitable;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/IntrusiveStack.push(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Lorg/apache/cassandra/utils/concurrent/IntrusiveStack;)Lorg/apache/cassandra/utils/concurrent/IntrusiveStack; bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/IntrusiveStack.push(Ljava/util/function/Function;Lorg/apache/cassandra/utils/concurrent/IntrusiveStack/Setter;Ljava/lang/Object;Lorg/apache/cassandra/utils/concurrent/IntrusiveStack;)Lorg/apache/cassandra/utils/concurrent/IntrusiveStack; bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/ListenerList.push(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Lorg/apache/cassandra/utils/concurrent/ListenerList;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/concurrent/ListenerList.pushExclusive(Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;Ljava/lang/Object;Lorg/apache/cassandra/utils/concurrent/ListenerList;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/memory/BufferPool$LocalPool.tryGetInternal(IZ)Ljava/nio/ByteBuffer; bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.encodeUnsignedVInt(JI)[B bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeUnsignedVInt(JLjava/lang/Object;ILorg/apache/cassandra/db/marshal/ValueAccessor;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeUnsignedVInt(JLjava/nio/ByteBuffer;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeUnsignedVInt(JLorg/apache/cassandra/io/util/DataOutputPlus;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeUnsignedVInt32(ILjava/lang/Object;ILorg/apache/cassandra/db/marshal/ValueAccessor;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeUnsignedVInt32(ILjava/nio/ByteBuffer;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeVInt(JLjava/lang/Object;ILorg/apache/cassandra/db/marshal/ValueAccessor;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeVInt(JLjava/nio/ByteBuffer;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeVInt(JLorg/apache/cassandra/io/util/DataOutputPlus;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeVInt32(ILjava/lang/Object;ILorg/apache/cassandra/db/marshal/ValueAccessor;)I bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeVInt32(ILjava/nio/ByteBuffer;)V bool inline = true
2025-06-19 08:55:43.328 | CompileCommand: inline org/apache/cassandra/utils/vint/VIntCoding.writeVInt32(ILorg/apache/cassandra/io/util/DataOutputPlus;)V bool inline = true
2025-06-19 08:55:43.884 | INFO  [main] 2025-06-19 05:55:43,881 YamlConfigurationLoader.java:101 - Configuration location: file:/etc/cassandra/cassandra.yaml
2025-06-19 08:55:44.144 | INFO  [main] 2025-06-19 05:55:44,144 Config.java:1355 - Node configuration: [...]
2025-06-19 08:55:44.180 | INFO  [main] 2025-06-19 05:55:44,180 DatabaseDescriptor.java:1640 - Supported sstable formats are: big -> org.apache.cassandra.io.sstable.format.big.BigFormat with singleton components: [Data.db, Index.db, Statistics.db, CompressionInfo.db, Filter.db, Summary.db, Digest.crc32, CRC.db, TOC.txt], bti -> org.apache.cassandra.io.sstable.format.bti.BtiFormat with singleton components: [Data.db, Partitions.db, Rows.db, Statistics.db, CompressionInfo.db, Filter.db, Digest.crc32, CRC.db, TOC.txt]
2025-06-19 08:55:44.422 | INFO  [main] 2025-06-19 05:55:44,422 AbstractCryptoProvider.java:140 - AmazonCorrettoCryptoProvider health check OK.
2025-06-19 08:55:44.423 | INFO  [main] 2025-06-19 05:55:44,422 DatabaseDescriptor.java:548 - DiskAccessMode is standard, indexAccessMode is mmap
2025-06-19 08:55:44.423 | INFO  [main] 2025-06-19 05:55:44,422 DatabaseDescriptor.java:587 - Global memtable on-heap threshold is enabled at 976MiB
2025-06-19 08:55:44.423 | INFO  [main] 2025-06-19 05:55:44,423 DatabaseDescriptor.java:591 - Global memtable off-heap threshold is enabled at 976MiB
2025-06-19 08:55:44.442 | INFO  [main] 2025-06-19 05:55:44,442 DatabaseDescriptor.java:639 - commitlog_disk_access_mode resolved to: mmap
2025-06-19 08:55:44.443 | INFO  [main] 2025-06-19 05:55:44,442 DatabaseDescriptor.java:659 - Native transport rate-limiting disabled.
2025-06-19 08:55:44.736 | INFO  [main] 2025-06-19 05:55:44,735 GossipingPropertyFileSnitch.java:67 - Unable to load cassandra-topology.properties; compatibility mode disabled
2025-06-19 08:55:44.887 | INFO  [main] 2025-06-19 05:55:44,886 JMXServerUtils.java:284 - Configured JMX server at: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:7199/jmxrmi
2025-06-19 08:55:44.890 | WARNING: A terminally deprecated method in java.lang.System has been called
2025-06-19 08:55:44.890 | WARNING: System::setSecurityManager has been called by org.apache.cassandra.security.ThreadAwareSecurityManager (file:/opt/cassandra/lib/apache-cassandra-5.0.4.jar)
2025-06-19 08:55:44.890 | WARNING: Please consider reporting this to the maintainers of org.apache.cassandra.security.ThreadAwareSecurityManager
2025-06-19 08:55:44.890 | WARNING: System::setSecurityManager will be removed in a future release
2025-06-19 08:55:44.897 | INFO  [main] 2025-06-19 05:55:44,896 CassandraDaemon.java:602 - Hostname: cassandra1:7000:7001
2025-06-19 08:55:44.897 | INFO  [main] 2025-06-19 05:55:44,897 CassandraDaemon.java:609 - JVM vendor/version: OpenJDK 64-Bit Server VM/17.0.15
2025-06-19 08:55:44.899 | INFO  [main] 2025-06-19 05:55:44,898 CassandraDaemon.java:610 - Heap size: 3.813GiB/3.813GiB
2025-06-19 08:55:44.902 | INFO  [main] 2025-06-19 05:55:44,900 CassandraDaemon.java:615 - CodeHeap 'non-nmethods' Non-heap memory: init = 2555904(2496K) used = 3094912(3022K) committed = 3145728(3072K) max = 7606272(7428K)
2025-06-19 08:55:44.904 | INFO  [main] 2025-06-19 05:55:44,902 CassandraDaemon.java:615 - Metaspace Non-heap memory: init = 0(0K) used = 22420576(21895K) committed = 22806528(22272K) max = -1(-1K)
2025-06-19 08:55:44.904 | INFO  [main] 2025-06-19 05:55:44,904 CassandraDaemon.java:615 - CodeHeap 'profiled nmethods' Non-heap memory: init = 2555904(2496K) used = 6096000(5953K) committed = 6160384(6016K) max = 122023936(119164K)
2025-06-19 08:55:44.905 | INFO  [main] 2025-06-19 05:55:44,904 CassandraDaemon.java:615 - Compressed Class Space Non-heap memory: init = 0(0K) used = 2704512(2641K) committed = 2883584(2816K) max = 1073741824(1048576K)
2025-06-19 08:55:44.905 | INFO  [main] 2025-06-19 05:55:44,904 CassandraDaemon.java:615 - G1 Eden Space Heap memory: init = 2164260864(2113536K) used = 209715200(204800K) committed = 2164260864(2113536K) max = -1(-1K)
2025-06-19 08:55:44.905 | INFO  [main] 2025-06-19 05:55:44,904 CassandraDaemon.java:615 - G1 Old Gen Heap memory: init = 1929379840(1884160K) used = 15577088(15212K) committed = 1929379840(1884160K) max = 4093640704(3997696K)
2025-06-19 08:55:44.905 | INFO  [main] 2025-06-19 05:55:44,905 CassandraDaemon.java:615 - G1 Survivor Space Heap memory: init = 0(0K) used = 12268536(11980K) committed = 16777216(16384K) max = -1(-1K)
2025-06-19 08:55:44.906 | INFO  [main] 2025-06-19 05:55:44,905 CassandraDaemon.java:615 - CodeHeap 'non-profiled nmethods' Non-heap memory: init = 2555904(2496K) used = 1383296(1350K) committed = 2555904(2496K) max = 122028032(119168K)
2025-06-19 08:55:44.906 | INFO  [main] 2025-06-19 05:55:44,906 CassandraDaemon.java:617 - Classpath:
...
- Cassandra3 didn't even start, so there is no log for it. As you see, there are no any error messages, just only periodical restart of nodes. Does anyone know how I can restore this cluster to work properly? I tried to change and delete the settings, restore their default values. But nothing helps.
Asked by Victor Tokovenko (31 rep)
Jun 19, 2025, 11:02 AM
Last activity: Jul 9, 2025, 07:23 AM