Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26831

TestAdminShell2 is failing because of we referenced a deleted method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-3
    • shell
    • None
    • Reviewed

    Description

      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
      

      It is introduced by HBASE-26730.

      Attachments

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: