skip to Main Content

Docker – Can't connect/write stream from spark container to table in cassandra container

I am composing these services in separate docker containers all on the same confluent network: broker: image: confluentinc/cp-server:7.4.0 hostname: broker container_name: broker depends_on: zookeeper: condition: service_healthy ports: - "9092:9092" - "9101:9101" environment: KAFKA_BROKER_ID: 1 KAFKA_ZOOKEEPER_CONNECT: 'zookeeper:2181' KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://broker:29092,PLAINTEXT_HOST://localhost:9092…

VIEW QUESTION

Ubuntu – Running cqlsh returns "ModuleNotFoundError: No module named 'six.moves'"

I have problem with running cqshl after install Appache Cassandra on Ubuntu 24.04 LTS: Traceback (most recent call last): File "/usr/bin/cqlsh.py", line 134, in <module> from cassandra.cluster import Cluster File "/usr/share/cassandra/lib/cassandra-driver-internal-only-3.25.0.zip/cassandra-driver-3.25.0/cassandra/cluster.py", line 33, in <module> ModuleNotFoundError: No module named 'six.moves'…

VIEW QUESTION

Why can't get a connection to Cassandra running on Docker from a Spring Boot instace using spring-boot-starter-data-cassandra on first boot?

I have the following cassandra: image: cassandra:latest ports: - 9042:9042 volumes: - ./cassandra/image:/var/lib/cassandra environment: - CASSANDRA_AUTHENTICATOR=AllowAllAuthenticator - CASSANDRA_AUTHORIZER=AllowAllAuthorizer The cassandra instance networking looks like this... "Networks": { "cbusha-infra_default": { "IPAMConfig": null, "Links": null, "Aliases": [ "cbusha-infra-cassandra-1", "cassandra", "572f0770b41e" ], "MacAddress":…

VIEW QUESTION

Cassandra inside docker is not up

I'm running a cassandra container with the the help of docker. For the below set of configuration I'm trying to run the script.sh script which should run after cassandra is up and running. However, the below script keeps logging ConnectionRefusedError(111)…

VIEW QUESTION
Back To Top
Search