Questions tagged [cassandra-cluster]

5 questions
3
votes
1 answer

Datastax Java driver 4.x : How to get cluster name?

After upgrading java driver for cassandra from 3.7 to 4.0 (or above) - I am unable to resolve the cluster name. I need the name of the cassandra cluster to which the my application is connected using java driver. Earlier it was available as…
1
vote
1 answer

Cassandra cluster using docker

I'm new to cassandra and wanted to understand and implement the NetworkTopology Stratergy. I want to create a cassandra cluster with NetworkTopology stratergy with multiple data centers. How to do it? I tried creating a docker bridge network and…
1
vote
2 answers

Cassandra crashes with Out Of Memory within minutes after starting

We have a Cassandra cluster with 3 nodes and replication factor 3 on AWS using EC2Snitch. Instance type is c5.2xlarge (8 core and 16GB RAM). The cluster had been working fine but suddenly since yesterday evening, the cassandra process on all the…
1
vote
1 answer

CQLSH connection refused on EC2 Cassandra cluster nodes

I am trying to set up a Cassandra cluter on four EC2 t2.2xlarge nodes, with one node nominated as the seed. The cluster seems to have started on each node. However, when I try to run /opt/cassandra/bin/cqlsh I get the following error: Connection…
MeanwhileInHell
  • 6,780
  • 17
  • 57
  • 106
0
votes
1 answer

Not able to do escape query

iam new to cassandra, i want to do get query using cassandra python client? iam not able to escape special characters.can anyone help Below is the query which iam trying, but getting syntax error SELECT pmid FROM chemical WHERE mentions=$$ …