[
https://issues.apache.org/jira/browse/HBASE-22661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885745#comment-16885745
]
Duo Zhang commented on HBASE-22661:
-----------------------------------
For the rubocop, the first is not related to the patch, and for the second, it
means we should use single quote instead of double quote, but I just follow the
old way, so I think we could fix them all in a separated issue if we want.
And I think this should go into all branches as at least we should have a test
for list_regions to make sure it does not throw any exceptions.
> list_regions command in hbase shell is broken
> ---------------------------------------------
>
> Key: HBASE-22661
> URL: https://issues.apache.org/jira/browse/HBASE-22661
> Project: HBase
> Issue Type: Bug
> Components: shell
> Reporter: Toshihiro Suzuki
> Assignee: Duo Zhang
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: HBASE-22661.patch
>
>
> I faced the following error in the master branch:
> {code}
> 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
> {code}
> I didn't check if the other branches have the same issue.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)