hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1295708 - /hbase/branches/0.94/bin/region_mover.rb
Date Thu, 01 Mar 2012 17:51:17 GMT
Author: stack
Date: Thu Mar  1 17:51:17 2012
New Revision: 1295708

URL: http://svn.apache.org/viewvc?rev=1295708&view=rev
Log:
HBASE-5502 region_mover.rb fails to load regions back to original server for regions only
containing empty tables.

Modified:
    hbase/branches/0.94/bin/region_mover.rb

Modified: hbase/branches/0.94/bin/region_mover.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/bin/region_mover.rb?rev=1295708&r1=1295707&r2=1295708&view=diff
==============================================================================
--- hbase/branches/0.94/bin/region_mover.rb (original)
+++ hbase/branches/0.94/bin/region_mover.rb Thu Mar  1 17:51:17 2012
@@ -364,7 +364,8 @@ def loadRegions(options, hostname)
   for r in regions
     exists = false
     begin
-      exists = isSuccessfulScan(admin, r)
+      isSuccessfulScan(admin, r)
+      exists = true
     rescue org.apache.hadoop.hbase.NotServingRegionException => e
       $LOG.info("Failed scan of " + e.message)
     end



Mime
View raw message