HBASE-4479 TestMasterFailover failure in Hbase-0.92#17(Ram)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1179052 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2b981abcbb
commit
456e7fbb60
|
@ -343,6 +343,7 @@ Release 0.92.0 - Unreleased
|
||||||
blocks read and for catching regressions (Kannan)
|
blocks read and for catching regressions (Kannan)
|
||||||
HBASE-4492 TestRollingRestart fails intermittently (Ted Yu and Ram)
|
HBASE-4492 TestRollingRestart fails intermittently (Ted Yu and Ram)
|
||||||
HBASE-4512 JVMClusterUtil throwing wrong exception when master thread cannot be created (Ram)
|
HBASE-4512 JVMClusterUtil throwing wrong exception when master thread cannot be created (Ram)
|
||||||
|
HBASE-4479 TestMasterFailover failure in Hbase-0.92#17(Ram)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||||
|
|
|
@ -1865,6 +1865,9 @@ public class AssignmentManager extends ZooKeeperListener {
|
||||||
// Get all available servers
|
// Get all available servers
|
||||||
List<ServerName> servers = serverManager.getOnlineServersList();
|
List<ServerName> servers = serverManager.getOnlineServersList();
|
||||||
|
|
||||||
|
// If there are no servers we need not proceed with region assignment.
|
||||||
|
if(servers.isEmpty()) return;
|
||||||
|
|
||||||
// Scan META for all user regions, skipping any disabled tables
|
// Scan META for all user regions, skipping any disabled tables
|
||||||
Map<HRegionInfo, ServerName> allRegions =
|
Map<HRegionInfo, ServerName> allRegions =
|
||||||
MetaReader.fullScan(catalogTracker, this.zkTable.getDisabledTables(), true);
|
MetaReader.fullScan(catalogTracker, this.zkTable.getDisabledTables(), true);
|
||||||
|
|
Loading…
Reference in New Issue