HBASE-13049 wal_roll ruby command doesn't work
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
This commit is contained in:
parent
9b2e4ed064
commit
6d72a993ee
|
@ -84,7 +84,7 @@ module Hbase
|
||||||
#----------------------------------------------------------------------------------------------
|
#----------------------------------------------------------------------------------------------
|
||||||
# Requests a regionserver's WAL roll
|
# Requests a regionserver's WAL roll
|
||||||
def wal_roll(server_name)
|
def wal_roll(server_name)
|
||||||
@admin.rollWALWriter(server_name)
|
@admin.rollWALWriter(ServerName.valueOf(server_name))
|
||||||
end
|
end
|
||||||
# TODO remove older hlog_roll version
|
# TODO remove older hlog_roll version
|
||||||
alias :hlog_roll :wal_roll
|
alias :hlog_roll :wal_roll
|
||||||
|
|
Loading…
Reference in New Issue