No known server issue and service unavilable error

Hi Team,

I’m setting up druid for the first time and started with checking out druid from following repo https://github.com/apache/druid/tree/master/distribution/docker
& started druid using docker-compose with following cmd
vm:~/druid/druid$ sudo docker-compose -f distribution/docker/docker-compose.yml up > log.txt

I didn’t change any configuration shipped Out of the box. and i notice following errors in logs and when i launch router web-console i see only service that is middlemanager is running.

       >[0m 2020-04-17T17:35:47,314 INFO [NodeRoleWatcher[BROKER]] org.apache.druid.curator.discovery.CuratorDruidNodeDiscoveryProvider$NodeRoleWatcher - Node watcher of role[broker] is now initialized.

[31mbroker |[0m 2020-04-17T17:35:47,321 INFO [main] org.apache.druid.offheap.OffheapBufferGenerator - Allocating new intermediate processing buffer[0] of size[500,000,000]
[36;1mrouter |[0m 2020-04-17T17:35:47,339 ERROR [CoordinatorRuleManager-Exec–0] org.apache.druid.curator.discovery.ServerDiscoverySelector - No server instance found for [druid/coordinator]
[32mcoordinator |[0m 2020-04-17T17:35:47,384 INFO [main] org.apache.curator.framework.imps.CuratorFrameworkImpl - Default schema
[32mcoordinator |[0m 2020-04-17T17:35:47,609 INFO [main-SendThread(zookeeper:2181)] org.apache.zookeeper.ClientCnxn - Opening socket connection to server zookeeper/172.18.0.2:2181. Will not attempt to authenticate using SASL (unknown error)
[36;1mrouter |[0m 2020-04-17T17:35:47,405 ERROR [CoordinatorRuleManager-Exec–0] org.apache.druid.server.router.CoordinatorRuleManager - Exception while polling for rules
[36;1mrouter |[0m org.apache.druid.java.util.common.IOE: No known server
[36;1mrouter |[0m at org.apache.druid.discovery.DruidLeaderClient.getCurrentKnownLeader(DruidLeaderClient.java:297) ~[druid-server-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at org.apache.druid.discovery.DruidLeaderClient.makeRequest(DruidLeaderClient.java:132) ~[druid-server-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at org.apache.druid.discovery.DruidLeaderClient.makeRequest(DruidLeaderClient.java:140) ~[druid-server-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at org.apache.druid.server.router.CoordinatorRuleManager.poll(CoordinatorRuleManager.java:141) [druid-server-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at org.apache.druid.server.router.CoordinatorRuleManager$1.run(CoordinatorRuleManager.java:106) [druid-server-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at org.apache.druid.java.util.common.concurrent.ScheduledExecutors$1.call(ScheduledExecutors.java:55) [druid-core-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at org.apache.druid.java.util.common.concurrent.ScheduledExecutors$1.call(ScheduledExecutors.java:51) [druid-core-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at org.apache.druid.java.util.common.concurrent.ScheduledExecutors$2.run(ScheduledExecutors.java:92) [druid-core-0.17.0.jar:0.17.0]
[36;1mrouter |[0m at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_232]
[36;

[36;1mrouter |[0m 2020-04-17T17:41:42,933 ERROR [CoordinatorRuleManager-Exec–0] org.apache.druid.server.router.CoordinatorRuleManager - Exception while polling for rules
[36;1mrouter |[0m org.apache.druid.java.util.common.ISE: Error while polling rules, status[503 Service Unavailable] content[
[36;1mrouter |[0m
[36;1mrouter |[0m Error 503 Service Unavailable
[36;1mrouter |[0m
[36;1mrouter |[0m

HTTP ERROR 503


[36;1mrouter |[0m

Problem accessing /druid/coordinator/v1/rules. Reason:
[36;1mrouter |[0m

    Service Unavailable

Powered by Jetty:// 9.4.12.v20180830

[36;1mrouter |[0m
[36;1mrouter |[0m
[36;1mrouter |[0m
[36;1mrouter |[0m ]

Not sure where i’m doing wrong, Could you guys please help me in starting druid using docker-compose?
Or any pointers to trace out the issue and fix it ?

Thanks in advance,
Sandeep