hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject hbase git commit: HBASE-15815 Region mover script sometimes reports stuck region where only one server was involved
Date Fri, 27 May 2016 01:02:54 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 a38b633a4 -> 8b4a2dcaf


HBASE-15815 Region mover script sometimes reports stuck region where only one server was involved


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

Branch: refs/heads/0.98
Commit: 8b4a2dcaf7f97015fdfdf0757f571cdd139f455f
Parents: a38b633
Author: tedyu <yuzhihong@gmail.com>
Authored: Fri May 13 07:45:50 2016 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Thu May 26 18:01:51 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/8b4a2dca/bin/region_mover.rb
----------------------------------------------------------------------
diff --git a/bin/region_mover.rb b/bin/region_mover.rb
index 04fce6c..91bfd93 100644
--- a/bin/region_mover.rb
+++ b/bin/region_mover.rb
@@ -156,7 +156,7 @@ def move(admin, r, newServer, original)
       sleep 0.1
     end
   end
-  raise RuntimeError, "Region stuck on #{original}, newserver=#{newServer}" if same
+  raise RuntimeError, "Region " + r.getRegionNameAsString() + " stuck on #{original}, newserver=#{newServer}"
if same
   # Assert can Scan from new location.
   isSuccessfulScan(admin, r)
   $LOG.info("Moved region " + r.getRegionNameAsString() + " cost: " + 


Mime
View raw message