hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1329555 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Date Tue, 24 Apr 2012 05:12:45 GMT
Author: larsh
Date: Tue Apr 24 05:12:45 2012
New Revision: 1329555

URL: http://svn.apache.org/viewvc?rev=1329555&view=rev
Log:
Refuse operations from Admin before master is initialized - fix for all branches

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java?rev=1329555&r1=1329554&r2=1329555&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/HMaster.java Tue Apr 24 05:12:45
2012
@@ -1208,6 +1208,7 @@ Server {
     }
 
     HRegionInfo [] newRegions = getHRegionInfos(hTableDescriptor, splitKeys);
+    checkInitialized();
     if (cpHost != null) {
       cpHost.preCreateTable(hTableDescriptor, newRegions);
     }



Mime
View raw message