hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1329556 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Date Tue, 24 Apr 2012 05:14:30 GMT
Author: larsh
Date: Tue Apr 24 05:14:30 2012
New Revision: 1329556

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

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

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



Mime
View raw message