try {
return fMetaServices.getTableEntityGroupsAndLocations(rootName,
excludeOfflinedSplitParents);
} catch (MetaException me) {
if (tries == maxRetries - 1) {
throw new MetaException(" RetriesExhaustedException ", me);
}
LOG.info(" RetryCount " + tries, me);
}
try {
Thread.sleep(ConnectionUtils.getPauseTime(pause, tries));
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new MetaException("Giving up after tries=" + tries, e);
}
}
return new ArrayList<Pair<EntityGroupInfo, ServerName>>(0);
}