You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2019/04/21 09:06:00 UTC
[jira] [Reopened] (HBASE-22260) Remove deprecated methods in
ReplicationLoadSink
[ https://issues.apache.org/jira/browse/HBASE-22260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang reopened HBASE-22260:
-------------------------------
This breaks TestShell, and maybe also TestAdminShell2.
{noformat}
Error: ^[[48;5;16;38;5;226;1mtest_Get_replication_status(Hbase::StatusTest)^[[0m:
NoMethodError: undefined method `getTimeStampsOfLastAppliedOp' for #<Java::OrgApacheHadoopHbaseReplication::ReplicationLoadSink:0x59df20c4>
Did you mean? get_timestamps_of_last_applied_op
getTimestampsOfLastAppliedOp
timestampsOfLastAppliedOp
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/admin.rb:819:in `block in status'
/home/zhangduo/hbase/code/hbase-shell/src/main/ruby/hbase/admin.rb:809:in `status'
/home/zhangduo/hbase/code/hbase-shell/src/test/ruby/test_helper.rb:145:in `replication_status'
src/test/ruby/hbase/admin2_test.rb:46:in `block in test_Get_replication_status'
43: end
44:
45: define_test 'Get replication status' do
^[[48;5;16;38;5;226;1m => 46: output = capture_stdout { replication_status('replication', 'both') }^[[0m
47: puts "Status output:\n#{output}"
48: assert output.include? 'SOURCE'
49: assert output.include? 'SINK'
/home/zhangduo/hbase/code/hbase-shell/src/test/ruby/test_helper.rb:161:in `capture_stdout'
src/test/ruby/hbase/admin2_test.rb:46:in `block in test_Get_replication_status'
{noformat}
> Remove deprecated methods in ReplicationLoadSink
> ------------------------------------------------
>
> Key: HBASE-22260
> URL: https://issues.apache.org/jira/browse/HBASE-22260
> Project: HBase
> Issue Type: Task
> Reporter: Sayed Anisul Hoque
> Assignee: Sayed Anisul Hoque
> Priority: Trivial
> Fix For: 3.0.0
>
>
> The ReplicationLoadSink class defines the deprecated getTimeStampsOfLastAppliedOp() method, which should be removed. For now it should be for 3.0.0 only.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)