Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,14 @@ public long balance(BalanceParameters params) {
+ " it may have been deleted or renamed.", table);
continue;
}
// If current information in the Manager indicates that the tserver
// is not hosting tablets for the table, then move on to the next
// tserver
if (e.getValue().getTableMap() != null
&& !e.getValue().getTableMap().containsKey(tid.canonical())) {
LOG.debug("TServer {} is not hosting any tablets for table {}", e.getKey(), table);
continue;
}
try {
List<TabletStatistics> outOfBoundsTablets = getOnlineTabletsForTable(e.getKey(), tid);
if (outOfBoundsTablets == null) {
Expand Down