mirror of https://github.com/apache/druid.git
handle a NPE in LookupCoordinatorManager.start() (#3026)
This commit is contained in:
parent
ebb6831770
commit
e2653a8cf4
|
@ -551,6 +551,10 @@ public class LookupCoordinatorManager
|
||||||
LOG.info("Not started. Returning");
|
LOG.info("Not started. Returning");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (allLookupTiers == null) {
|
||||||
|
LOG.info("Not updating lookups because no data exists");
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (final String tier : allLookupTiers.keySet()) {
|
for (final String tier : allLookupTiers.keySet()) {
|
||||||
try {
|
try {
|
||||||
final Map<String, Map<String, Object>> allLookups = allLookupTiers.get(tier);
|
final Map<String, Map<String, Object>> allLookups = allLookupTiers.get(tier);
|
||||||
|
|
Loading…
Reference in New Issue