You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2014/08/28 23:33:48 UTC

[3/3] git commit: HBASE-11844 region_mover.rb load enters an infinite loop if region already present on target server (Stephen Veiss)

HBASE-11844 region_mover.rb load enters an infinite loop if region already present on target server (Stephen Veiss)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0a577559
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0a577559
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0a577559

Branch: refs/heads/0.98
Commit: 0a577559dc757241dcef6fc6668dbb1c2cd65eb2
Parents: 4a3ddc7
Author: Andrew Purtell <ap...@apache.org>
Authored: Thu Aug 28 14:33:22 2014 -0700
Committer: Andrew Purtell <ap...@apache.org>
Committed: Thu Aug 28 14:33:37 2014 -0700

----------------------------------------------------------------------
 bin/region_mover.rb | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0a577559/bin/region_mover.rb
----------------------------------------------------------------------
diff --git a/bin/region_mover.rb b/bin/region_mover.rb
index 1ff0da2..e916430 100644
--- a/bin/region_mover.rb
+++ b/bin/region_mover.rb
@@ -423,6 +423,7 @@ def loadRegions(options, hostname)
     if currentServer and currentServer == servername
       $LOG.info("Region " + r.getRegionNameAsString() + " (" + count.to_s +
         " of " + regions.length.to_s + ") already on target server=" + servername)
+      counter = counter + 1
       next
     end
     pool.launch(r,currentServer,count) do |_r,_currentServer,_count|