Duo Zhang created HBASE-26831:
---------------------------------
Summary: TestAdminShell2 is failing because of we referenced a
deleted method
Key: HBASE-26831
URL: https://issues.apache.org/jira/browse/HBASE-26831
Project: HBase
Issue Type: Bug
Components: shell
Reporter: Duo Zhang
{noformat}
src/test/ruby/hbase/admin2_test.rb:70:in `block in test_Get_detailed_status'
/home/zhangduo/hbase/code/hbase-shell/src/test/ruby/test_helper.rb:161:in
`capture_stdout'
67: end
68:
69: define_test 'Get detailed status' do
^[[48;5;16;38;5;226;1m => 70: output = capture_stdout {
admin.status('detailed', '') }^[[0m
71: puts "Status output:\n#{output}"
72: # Some text which isn't in the simple output
73: assert output.include? 'regionsInTransition'
src/test/ruby/hbase/admin2_test.rb:70:in `block in test_Get_detailed_status'
uri:classloader:/hbase/admin.rb:926:in `status'
Error: ^[[48;5;16;38;5;226;1mtest_Get_detailed_status(Hbase::StatusTest)^[[0m:
NoMethodError: undefined method `getMaster' for
#<Java::OrgApacheHadoopHbase::ClusterMetricsBuilder::ClusterMetricsImpl:0x4eee1637>
Did you mean? get_master_name
{noformat}
It is introduced by HBASE-26730.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)