hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-17427 region_mover.rb may move region onto the same server
Date Thu, 05 Jan 2017 01:20:17 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 4dcb07f99 -> db410ea7c


HBASE-17427 region_mover.rb may move region onto the same server


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

Branch: refs/heads/branch-1
Commit: db410ea7cffa189a19656935f434a45015eb9725
Parents: 4dcb07f
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Jan 4 17:19:57 2017 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Jan 4 17:19:57 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/db410ea7/bin/region_mover.rb
----------------------------------------------------------------------
diff --git a/bin/region_mover.rb b/bin/region_mover.rb
index 64709d7..eaca097 100644
--- a/bin/region_mover.rb
+++ b/bin/region_mover.rb
@@ -71,8 +71,7 @@ def getServerNameForRegion(admin, r)
       while not mtl.isLocationAvailable(zkw)
         sleep 0.1
       end
-      # Make a fake servername by appending ','
-      metaServer = (mtl.getMetaRegionLocation(zkw).toString() + ",").to_s
+      metaServer = (mtl.getMetaRegionLocation(zkw).toString()).to_s
       return metaServer
     ensure
       zkw.close()


Mime
View raw message