Questions tagged cassandra

Explore the latest questions and answers asked by our top developers.

Running sstableutil after installing and running cassandra using docker

I want to run some of the programs in SSTable Tools however the doc says: Cassandra must be stopped before these tools are executed, or unexpected results will occur. Note: the scripts do not verify that Cassandra is stopped. I installed and started cassandra using docker. So how do I run something like sstableutil? Source: […]

By dan b
Published
Categorised as cassandra, docker Tagged ,

How to create Docker Scylla acorss Multi DC

I have 2 server in difference datacenter. First server in DC1 with public IP 10.10.10.1 Second server in DC2 with public IP 20.20.20.2 docker-compose for first server in DC1 look like this : version: ‘3’ services: scylla-n1: restart: always image: scylladb/scylla:4.5.2 container_name: scylla-n1 command: –seeds=10.10.10.1, 20.20.20.2, scylla-n1,scylla-n2 –smp 8 –memory 16G –authenticator PasswordAuthenticator –authorizer CassandraAuthorizer […]

Python Cassandra driver: connect to Docker container on server – cassandra.UnresolvableContactPoints: {}

I am runnning cassandra in a docker container on a custom server. I start cassandra docker like this: docker run –name cassandra -p 9042:9042 -d cassandra:latest When i want to conect to the server via the python cassandra driver from datastax like this: from cassandra.cqlengine import connection connection.setup(["http://myserver.myname.com"], "cqlengine", protocol_version=3) The exception is thrown: File […]

Are Cassandra Getting Started Instructions Broken?

I’m trying to get started with Cassandra by following the directions on https://cassandra.apache.org/_/quickstart.html, but step two doesn’t make sense. This command: docker run –name cassandra cassandra starts a container. Then the second command (docker run –rm -d –name cassandra –hostname cassandra –network cassandra cassandra) attempts to start another container with the same name which fails […]

By xvade
Published
Categorised as cassandra, docker Tagged ,

Is the Cassandra Getting Started Instructions Broken?

I’m trying to get started with Cassandra by following the directions on https://cassandra.apache.org/_/quickstart.html, but step two doesn’t make sense. This command: docker run –name cassandra cassandra starts a container. Then the second command (docker run –rm -d –name cassandra –hostname cassandra –network cassandra cassandra) attempts to start another container with the same name which fails […]

By xvade
Published
Categorised as cassandra, docker Tagged ,

Simulating Node Failure

I want to simulate failure, malfunction of one of my nodes and check how the cluster behave in this situation and whether there is full access to stored data. I’m using Docker on macOS with 3 Cassandra nodes running, assigned to one cluster with replication factor 2. Would appreciate every advice how I can lead […]

By Vader20FF
Published
Categorised as cassandra, docker, macos Tagged , ,

Can not connect Apache Cassandra with DataGrip

I try to deploy Apache Cassandra cluster with docker-compose in Portainer. ”’ version: ‘2’ services: cassandra-node1: image: bitnami/cassandra:latest ports: – ‘7000:7000’ – ‘9042:9042’ environment: – CASSANDRA_CLUSTER_NAME=cassandra-cluster – CASSANDRA_SEEDS=cassandra-node1,cassandra-node2,cassandra-node3 – CASSANDRA_PASSWORD_SEEDER=yes – CASSANDRA_PASSWORD=pa$$word – CASSANDRA_TRANSPORT_PORT_NUMBER=7000 cassandra-node2: image: bitnami/cassandra:latest environment: – CASSANDRA_CLUSTER_NAME=cassandra-cluster – CASSANDRA_SEEDS=cassandra-node1,cassandra-node2,cassandra-node3 – CASSANDRA_PASSWORD=pa$$word – CASSANDRA_TRANSPORT_PORT_NUMBER=7000 cassandra-node3: image: bitnami/cassandra:latest environment: – CASSANDRA_CLUSTER_NAME=cassandra-cluster – CASSANDRA_SEEDS=cassandra-node1,cassandra-node2,cassandra-node3 – […]

By Vanich
Published
Categorised as cassandra, docker, portainer Tagged , ,

How to add some nodes to existing cluster on Cassandra in Docker

I’m using latest default image of Cassandra in Docker. In Cassandra I have one keyspace with my data. What I want to do is to add some nodes and change replication factor. How can I achieve this? Source: Docker Questions

By Vader20FF
Published
Categorised as cassandra, docker Tagged ,

Cassandra official guide docker start command network not working

I am new to Docker and Cassandra and tried their quick start guide to setup Cassandra with Docker locally however meeting following issues. I can successfully run the command to start Cassandra which is: docker run –name cassandra cassandra However when I tried with the command of network: docker run –rm -d –name cassandra –hostname […]

By TTT
Published
Categorised as cassandra, docker Tagged ,

Cassandra ERROR: java.io.IOException: failed to connect to /127.0.0.1:7000 for streaming data

I’m running a Cassandra’s container (version 3.11.11) from an official Cassandra’s docker image. When I run the command line to copy datas from othes Cassandra’s DB (replication datas), the container gave the error: java.io.IOException: failed to connect to /127.0.0.1:7000 for streaming data. However, the container’s nodetool status is OK: Datacenter: datacenter1 ======================= Status=Up/Down |/ State=Normal/Leaving/Joining/Moving […]

1 2 3 7

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq