HBASE-24413 HBASE-22259 Removed deprecated getTimeStampOfLastShippedOp method from ReplicationLoadSource, but there were still references to this method on ruby admin.rb (#1754)
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com> Signed-off by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
80b64ef4dc
commit
9d9f07be36
|
@ -915,7 +915,7 @@ module Hbase
|
||||||
end
|
end
|
||||||
|
|
||||||
def build_shipped_stats(source_load, r_source_string)
|
def build_shipped_stats(source_load, r_source_string)
|
||||||
r_source_string << if source_load.getTimeStampOfLastShippedOp.zero?
|
r_source_string << if source_load.getTimestampOfLastShippedOp.zero?
|
||||||
"\n " \
|
"\n " \
|
||||||
'No Ops shipped since last restart'
|
'No Ops shipped since last restart'
|
||||||
else
|
else
|
||||||
|
@ -923,7 +923,7 @@ module Hbase
|
||||||
source_load.getAgeOfLastShippedOp.to_s +
|
source_load.getAgeOfLastShippedOp.to_s +
|
||||||
', TimeStampOfLastShippedOp=' +
|
', TimeStampOfLastShippedOp=' +
|
||||||
java.util.Date.new(source_load
|
java.util.Date.new(source_load
|
||||||
.getTimeStampOfLastShippedOp).toString
|
.getTimestampOfLastShippedOp).toString
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue