hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r830783 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ServerManager.java
Date Wed, 28 Oct 2009 22:37:06 GMT
Author: stack
Date: Wed Oct 28 22:37:06 2009
New Revision: 830783

URL: http://svn.apache.org/viewvc?rev=830783&view=rev
Log:
HBASE-1816 Master rewrite; fix flag that reported fail on open, always

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

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ServerManager.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ServerManager.java?rev=830783&r1=830782&r2=830783&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ServerManager.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ServerManager.java Wed Oct
28 22:37:06 2009
@@ -582,15 +582,8 @@
           // Note that the table has been assigned and is waiting for the
           // meta table to be updated.
           this.master.getRegionManager().setOpen(region.getRegionNameAsString());
-          // Queue up an update to note the region location.  Do inside
-          // a retry loop in case interrupted.
-          boolean succeeded = false;
-          for (int i = 0; i < 10; i++) {
-            this.master.queue(new ProcessRegionOpen(master, serverInfo, region));
-          }
-          if (!succeeded) {
-            LOG.warn("FAILED ADDING OPEN TO TODO QUEUE: " + serverInfo);
-          }
+          // Queue up an update to note the region location.
+          this.master.queue(new ProcessRegionOpen(master, serverInfo, region));
         }
       }
     }



Mime
View raw message