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

RSGroup shell commands:get_server_rsgroup don't work and commands display an incorrect result size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • shell
    • Reviewed
    • rsgroup

    Description

      scenario as follows:

      hbase(main):001:0> get_server_rsgroup 'hbase-01:16030'
      
      ERROR: undefined method `getRSGroupOfServer' for #<Hbase::RSGroupAdmin:0x1acb74ad>
      
      Here is some help for this command:
      Get the group name the given region server is a member of.
      
        hbase> get_server_rsgroup 'server1:port1'
      
      Took 0.0160 seconds
      
      hbase(main):002:0> list_rsgroups
      GROUPS
      default
      1484874115 row(s)
      Took 0.3830 seconds
      
      hbase(main):003:0> get_table_rsgroup 't1'
      default
      1484874133 row(s)
      Took 0.0100 seconds
      
      hbase(main):004:0> get_rsgroup 'default'
      GROUP INFORMATION
      Servers:
      hbase-01:16030
      Tables:
      hbase:meta
      t1
      hbase:namespace
      hbase:rsgroup
      1484874150 row(s)
      Took 0.0140 seconds
      

      Attachments

        1. HBASE-17496-master-v1.patch
          2 kB
          Guangxu Cheng

        Issue Links

          Activity

            People

              gxcheng Guangxu Cheng
              gxcheng Guangxu Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: