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:
Wellington Ramos Chevreuil 2020-05-22 10:46:33 +01:00 committed by GitHub
parent 80b64ef4dc
commit 9d9f07be36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -915,7 +915,7 @@ module Hbase
end
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 " \
'No Ops shipped since last restart'
else
@ -923,7 +923,7 @@ module Hbase
source_load.getAgeOfLastShippedOp.to_s +
', TimeStampOfLastShippedOp=' +
java.util.Date.new(source_load
.getTimeStampOfLastShippedOp).toString
.getTimestampOfLastShippedOp).toString
end
end