[
https://issues.apache.org/jira/browse/HBASE-24053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17068231#comment-17068231
]
shenshengli commented on HBASE-24053:
-------------------------------------
Before modification, when./hbase-jruby region_status.rb is executed, an error
is reported:
NameError:uninitialized constant IOException
Did you mean? Exception
...
After I follow the instructions to modify,an error is reported:
NoMethodError:undefined method 'getHRegionInfo' for
Java::OrApacheHadoopHbase::MetaTableAccessor:class
Did you mean? get_region_info
So I revised it again,an error is reported:
NameError: undefined local variable or method 'scanner' for main:Object
When I last modified it, it returned correct
> hbase/bin/region_status.rb Not available in hbase2
> --------------------------------------------------
>
> Key: HBASE-24053
> URL: https://issues.apache.org/jira/browse/HBASE-24053
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.1
> Reporter: shenshengli
> Priority: Minor
>
> A series of strange errors occurred while running this script in hbase2,
> which was corrected as prompted, and note that in hbase2's MetaTableAccessor,
> getHRegionInfo has been replaced by getRegionInfo
--
This message was sent by Atlassian Jira
(v8.3.4#803005)