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