TabletLocator tl = TabletLocator.getLocator(instance, new Text(tableId));
// its possible that the cache could contain complete, but old information about a tables tablets... so clear it
tl.invalidateCache();
while (!tl.binRanges(credentials, Collections.singletonList(range), binnedRanges).isEmpty()) {
if (!Tables.exists(instance, tableId))
throw new TableDeletedException(tableId);
if (Tables.getTableState(instance, tableId) == TableState.OFFLINE)
throw new TableOfflineException(instance, tableId);
log.warn("Unable to locate bins for specified range. Retrying.");
// sleep randomly between 100 and 200ms