You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2015/02/16 15:52:14 UTC
[2/3] hbase git commit: HBASE-13049 wal_roll ruby command doesn't work
HBASE-13049 wal_roll ruby command doesn't work
Signed-off-by: Matteo Bertozzi <ma...@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 <bh...@huawei.com>
Authored: Mon Feb 16 18:51:14 2015 +0530
Committer: Matteo Bertozzi <ma...@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