I tried to configure the 2 node Cassandra setup and it was done. The nodes are connected as shown below:
Datacenter: datacenter1 ======================= Status=Up/Down |/ State=Normal/Leaving/Joining/Moving
1) Each operation of type DDL receives from time to time:
cqlsh> CREATE KEYSPACE keyspace1 WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 2}; OperationTimedOut: errors={}, last_host=127.0.0.1
or
cqlsh> drop keyspace keyspace2; OperationTimedOut: errors={}, last_host=127.0.0.1
2) Despite the fact that a timeout has been received on the above operations, I can see this key space in a few moments, but they will not be replicated to another, wherever there is no replication_factor = 2. I am not sure whether these time errors are related to replicating or not, I tried the same thing by stopping one of the two nodes, but getting the same timeout error even after.
Configuration file is as mentioned below : cluster_name: 'MarketplaceDB-Cluster' num_tokens: 256 hinted_handoff_enabled: true max_hint_window_in_ms: 10800000 , TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA] Configuration file is as mentioned below : cluster_name: 'MarketplaceDB-Cluster' num_tokens: 256 hinted_handoff_enabled: true max_hint_window_in_ms: 10800000 TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA] Configuration file is as mentioned below : cluster_name: 'MarketplaceDB-Cluster' num_tokens: 256 hinted_handoff_enabled: true max_hint_window_in_ms: 10800000
Harsh pandit
source share