HBASE-5425 Punt on the timeout doesn't work in BulkEnabler#waitUntilDone (master's EnableTableHandler)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1245674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a9ab79730
commit
f45b59aa4d
|
@ -201,7 +201,7 @@ public class EnableTableHandler extends EventHandler {
|
|||
long startTime = System.currentTimeMillis();
|
||||
long remaining = timeout;
|
||||
List<HRegionInfo> regions = null;
|
||||
int lastNumberOfRegions = this.countOfRegionsInTable;
|
||||
int lastNumberOfRegions = 0;
|
||||
while (!server.isStopped() && remaining > 0) {
|
||||
Thread.sleep(waitingTimeForEvents);
|
||||
regions = assignmentManager.getRegionsOfTable(tableName);
|
||||
|
|
Loading…
Reference in New Issue