hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1304604 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
Date Fri, 23 Mar 2012 21:19:14 GMT
Author: stack
Date: Fri Mar 23 21:19:14 2012
New Revision: 1304604

URL: http://svn.apache.org/viewvc?rev=1304604&view=rev
Log:
HBASE-5624 Aborting regionserver when splitting region, may cause daughter region not assigned
by ServerShutdownHandler

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java?rev=1304604&r1=1304603&r2=1304604&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
Fri Mar 23 21:19:14 2012
@@ -338,9 +338,9 @@ public class SplitTransaction {
     if (stopped || stopping) {
       // add 2nd daughter first (see HBASE-4335)
       MetaEditor.addDaughter(server.getCatalogTracker(),
-          b.getRegionInfo(), null);
+          b.getRegionInfo(), services.getServerName());
       MetaEditor.addDaughter(server.getCatalogTracker(),
-          a.getRegionInfo(), null);
+          a.getRegionInfo(), services.getServerName());
       LOG.info("Not opening daughters " +
           b.getRegionInfo().getRegionNameAsString() +
           " and " +



Mime
View raw message