Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

org.apache.druid.java.util.common.ISE: No default server found

Tags:

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.

like image 978
Mnd Avatar asked Apr 11 '20 07:04

Mnd


1 Answers

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.

like image 117
Kai Avatar answered Nov 14 '22 20:11

Kai