From 6d72a993eee492d69bcbe3d6756f765afe8d8007 Mon Sep 17 00:00:00 2001 From: Bhupendra Date: Mon, 16 Feb 2015 18:51:14 +0530 Subject: [PATCH] HBASE-13049 wal_roll ruby command doesn't work Signed-off-by: Matteo Bertozzi --- hbase-shell/src/main/ruby/hbase/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb b/hbase-shell/src/main/ruby/hbase/admin.rb index 35ee36cd760..445a3903f1d 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