hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkris...@apache.org
Subject svn commit: r1179053 - in /hbase/branches/0.92: CHANGES.txt src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Date Wed, 05 Oct 2011 04:45:18 GMT
Author: ramkrishna
Date: Wed Oct  5 04:45:17 2011
New Revision: 1179053

URL: http://svn.apache.org/viewvc?rev=1179053&view=rev
Log:
HBASE-4479 TestMasterFailover failure in Hbase-0.92#17 (Ram)

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1179053&r1=1179052&r2=1179053&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Wed Oct  5 04:45:17 2011
@@ -325,6 +325,8 @@ Release 0.92.0 - Unreleased
 
   TESTS
    HBASE-4492  TestRollingRestart fails intermittently
+   HBASE-4512  JVMClusterUtil throwing wrong exception when master thread cannot be created
(Ram)
+   HBASE-4479  TestMasterFailover failure in Hbase-0.92#17 (Ram)
 
   IMPROVEMENTS
    HBASE-3290  Max Compaction Size (Nicolas Spiegelberg via Stack)  

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java?rev=1179053&r1=1179052&r2=1179053&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
(original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
Wed Oct  5 04:45:17 2011
@@ -1865,6 +1865,9 @@ public class AssignmentManager extends Z
     // Get all available servers
     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
     Map<HRegionInfo, ServerName> allRegions =
       MetaReader.fullScan(catalogTracker, this.zkTable.getDisabledTables(), true);



Mime
View raw message