graphql-hive icon indicating copy to clipboard operation
graphql-hive copied to clipboard

kafka Docker container crashed

Open DilLip-Chowdary-Codes opened this issue 2 years ago • 4 comments

After running yarn setup, when I checked containers I observed the Kafka related container crashed.

Getting the below error in the container logs:

===> User
uid=1000(appuser) gid=1000(appuser) groups=1000(appuser)
===> Configuring ...
===> Running preflight checks ... 
===> Check if /var/lib/kafka/data is writable ...
Command [/usr/local/bin/dub path /var/lib/kafka/data writable] FAILED !

It seems there is an issue with Kafka, you can go through issue similar to this.

DilLip-Chowdary-Codes avatar Sep 15 '22 15:09 DilLip-Chowdary-Codes

@DilLip-Chowdary-Codes can you run different versions of Kafka and see which one works for you? I can't reproduce this issue.

kamilkisiela avatar Sep 19 '22 07:09 kamilkisiela

@kamilkisiela

Additional Info

OS: Ubuntu 20.04.5 LTS (AWS EC2) Docker Version: 20.10.18, build b40c2f6 Docker Compose Version: v2.11.1

and if it's working for you, can you send the docker images with a tag and also the docker & docker-compose that's your server using currently?

The below docker images used in yarn setup process failed to create a container.

  • confluentinc/cp-kafka:7.1.1-1-ubi8.amd64
  • confluentinc/cp-zookeeper:7.1.1-1-ubi8.amd64
  • bitnami/redis:6.2

DilLip-Chowdary-Codes avatar Sep 22 '22 10:09 DilLip-Chowdary-Codes

@DilLip-Chowdary-Codes can you try #502?

kamilkisiela avatar Oct 18 '22 09:10 kamilkisiela

@kamilkisiela

I tried also with Self Hosting in Local (Ubuntu 20.04) and AWS EC2 (Ubuntu 20.04), i observed the below logs.

hive-testing-zookeeper-1       | ===> User
hive-testing-zookeeper-1       | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser)
hive-testing-zookeeper-1       | ===> Configuring ...
hive-testing-redis-1 exited with code 1
hive-testing-app-1             | started server on localhost:3000, url: http://localhost:3000
hive-testing-broker-1          | ===> User
hive-testing-broker-1          | uid=1000(appuser) gid=1000(appuser) groups=1000(appuser)
hive-testing-broker-1          | ===> Configuring ...
hive-testing-zookeeper-1       | ===> Running preflight checks ... 
hive-testing-zookeeper-1       | ===> Check if /var/lib/zookeeper/data is writable ...
hive-testing-zookeeper-1       | Command [/usr/local/bin/dub path /var/lib/zookeeper/data writable] FAILED !
hive-testing-zookeeper-1 exited with code 1
hive-testing-broker-1          | ===> Running preflight checks ... 
hive-testing-broker-1          | ===> Check if /var/lib/kafka/data is writable ...
hive-testing-broker-1          | Command [/usr/local/bin/dub path /var/lib/kafka/data writable] FAILED !
hive-testing-broker-1 exited with code 1

DilLip-Chowdary-Codes avatar Oct 19 '22 11:10 DilLip-Chowdary-Codes

@kamilkisiela and @n1ru4l recently did some updated to the images, @DilLip-Chowdary-Codes can you please check with the latest Compose file?

dotansimha avatar Dec 12 '22 18:12 dotansimha

@DilLip-Chowdary-Codes I'm closing for now. Please let me know if the issue persists with the latest version, and I'll reopen if needed.

dotansimha avatar Jan 02 '23 07:01 dotansimha