Merge pull request #2655 from navis/hint-coordinator-client

Add hint message for missing `druid.selectors.coordinator.serviceName`
This commit is contained in:
Fangjin Yang 2016-03-14 20:57:40 -07:00
commit ec949d76e3

View File

@ -105,7 +105,7 @@ public class CoordinatorClient
try { try {
final Server instance = selector.pick(); final Server instance = selector.pick();
if (instance == null) { if (instance == null) {
throw new ISE("Cannot find instance of coordinator"); throw new ISE("Cannot find instance of coordinator.. Did you set `druid.selectors.coordinator.serviceName`?");
} }
return new URI( return new URI(