I'm setting up druid first time and ran into following issues while trying to start druid using docker-compose,
2020-04-10T14:40:01,837 ERROR [qtp1667348377-84] org.apache.druid.server.router.QueryHostFinder - Catastrophic failure! No servers found at all! Failing request!: {class=org.apache.druid.server.router.QueryHostFinder} 2020-04-10T14:40:01,837 WARN [qtp1667348377-84] org.eclipse.jetty.server.HttpChannel - /druid/v2/sql org.apache.druid.java.util.common.ISE: No default server found! at org.apache.druid.server.router.QueryHostFinder.pickDefaultServer(QueryHostFinder.java:119) ~[druid-server-0.17.1.jar:0.17.1]
here is the cmd i'm using
vm:~$ sudo docker-compose -f distribution/docker/docker-compose.yml up
i've cloned the repo from https://github.com/apache/druid.
However if download the druid distribution apache-druid-0.17.1 and using ./bin/start-micro-quickstart I'm able to see all services started successfully and running fine. able to access web-console and load the data into segments.
But when I try to start druid in cluster mode or using docker-compose getting 404 errors in console and in logs connection refused and Out Of Memory errors. I've increased -XX:MaxDirectMemorySize=6g in druid.sh but no luck.
Please help me in resolving these errors while starting druid using docker-compose.
Do a Docker PS
to check if router/broker is running.
If not, increase the memory allocated to your docker engine. Druid need at least 4GB memory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With