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

list_regions command in hbase shell is broken

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      I faced the following error in the master branch:

      hbase(main):001:0> create "test", "cf"
      2019-07-07 23:24:15,254 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      Created table test
      Took 6.5678 seconds
      => Hbase::Table - test
      hbase(main):002:0> list_regions "test"
      
      ERROR: undefined method `getClusterStatus' for #<Java::OrgApacheHadoopHbaseClient::AdminOverAsyncAdmin:0x4ffced4e>
      Did you mean?  get_cluster_metrics
      
      For usage try 'help "list_regions"'
      
      Took 0.1997 seconds
      

      I didn't check if the other branches have the same issue.

      Attachments

        1. HBASE-22661.patch
          2 kB
          Duo Zhang

        Activity

          People

            zhangduo Duo Zhang
            brfrn169 Toshihiro Suzuki
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: