Category : cassandra

The Cassandra was created with this compose version: ‘2.4’ services: storage: image: ghcr.io/openzipkin/zipkin-cassandra:${TAG:-latest} container_name: cassandra volumes: – ./zipkin/volumes:/var/lib/cassandra ports: # Expose port for testing – 9004:9042 restart: always zipkin: container_name: zipkin image: ghcr.io/openzipkin/zipkin:${TAG:-latest} environment: – STORAGE_TYPE=cassandra3 – CASSANDRA_ENSURE_SCHEMA=false – CASSANDRA_CONTACT_POINTS=cassandra – CASSANDRA_USERNAME=${cassandra_username} – CASSANDRA_PASSWORD=${cassandra_password} – QUERY_LOG_LEVEL=DEBUG # Self tracing exists to help troubleshoot performance of ..

Read more

I am trying to update database config (parameters such as certain ports, db address etc.). Unfortunately only some ports change according to logs. I am using following dockerfile FROM thingsboard/tb-cassandra #repo link https://github.com/thingsboard/thingsboard/tree/master/msa/tb RUN sed -i "s/:5683/:12090/g" /usr/share/thingsboard/conf/thingsboard.yml #this one works RUN sed -i "s/localhost:5432/postgres:5432/g" /usr/share/thingsboard/conf/thingsboard.yml #this one doesnt update anythinh What can cause such ..

Read more

I have a docker container created with this command (the volume is empty for the moment): docker run –name mabase-cassandra -v /db/docker_saves/cassandra:/var/lib/cassandra -d cassandra:3 When I try to connect to it using python (when the container is running of course), I get an error which says : session = cassandra_cluster.connect() File "cassandracluster.py", line 1667, in ..

Read more

I’m trying to monitor Cassandra that is running in a docker container with this cassandra-exporter . For some reasons the cassandra-exporter can’t scrape the metrics from cassandra, if I use docker logs -f cassandra-exporter I get the following output: Waiting for Cassandra JMX to start on localhost:7199 I think that the exporter is running fine. ..

Read more

After I pull the image for Cassandra and run a container and create the database, I want to add its data source on DataGrip to manage the database from there. I tried to connect but every time I get the error: All host(s) tried for query failed (tried: localhost/127.0.0.1:9842 (com.datastax.driver.core.exceptions.TransportException: [localhost/127.0.0.1:9842] Channel has been closed)). ..

Read more