Skip to content

Commit

Permalink
handle a NPE in LookupCoordinatorManager.start() (apache#3026)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehc authored and drcrallen committed May 26, 2016
1 parent ebb6831 commit e2653a8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,10 @@ public void run()
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);
Expand Down

0 comments on commit e2653a8

Please sign in to comment.