HBASE-13049 wal_roll ruby command doesn't work

Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
This commit is contained in:
Bhupendra 2015-02-16 18:51:14 +05:30 committed by Matteo Bertozzi
parent 9b2e4ed064
commit 6d72a993ee
1 changed files with 1 additions and 1 deletions

View File

@ -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