handle a NPE in LookupCoordinatorManager.start() (#3026)

This commit is contained in:
jaehong choi 2016-05-27 01:55:33 +09:00 committed by Charles Allen
parent ebb6831770
commit e2653a8cf4
1 changed files with 4 additions and 0 deletions

View File

@ -551,6 +551,10 @@ public class LookupCoordinatorManager
LOG.info("Not started. Returning");
return;
}
if (allLookupTiers == null) {
LOG.info("Not updating lookups because no data exists");
return;
}
for (final String tier : allLookupTiers.keySet()) {
try {
final Map<String, Map<String, Object>> allLookups = allLookupTiers.get(tier);