hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mberto...@apache.org
Subject [2/3] hbase git commit: HBASE-13049 wal_roll ruby command doesn't work
Date Mon, 16 Feb 2015 14:52:14 GMT
HBASE-13049 wal_roll ruby command doesn't work

Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>


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

Branch: refs/heads/branch-1
Commit: b131b15ae41f1b67800de185cf11bb6129c46a65
Parents: b33f50e
Author: Bhupendra <bhupendra.jain@huawei.com>
Authored: Mon Feb 16 18:51:14 2015 +0530
Committer: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
Committed: Mon Feb 16 15:47:22 2015 +0100

----------------------------------------------------------------------
 hbase-shell/src/main/ruby/hbase/admin.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b131b15a/hbase-shell/src/main/ruby/hbase/admin.rb
----------------------------------------------------------------------
diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb
index 35ee36c..445a390 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -84,7 +84,7 @@ module Hbase
     #----------------------------------------------------------------------------------------------
     # Requests a regionserver's WAL roll
     def wal_roll(server_name)
-      @admin.rollWALWriter(server_name)
+      @admin.rollWALWriter(ServerName.valueOf(server_name))
     end
     # TODO remove older hlog_roll version
     alias :hlog_roll :wal_roll


Mime
View raw message