[jira] [Commented] (HBASE-24053) hbase/bin/region_status.rb Not available in hbase2

2021-08-17 Thread Michael Stack (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-24053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17400757#comment-17400757
 ] 

Michael Stack commented on HBASE-24053:
---

I tried the PR and it fails still w/ the following:

 

{{NoMethodError: undefined method `allTableRegions' for 
Java::OrgApacheHadoopHbase::MetaTableAccessor:Class}}
{{Did you mean? getAllRegions}}
{{ method_missing at org/jruby/RubyBasicObject.java:1657}}
{{ block in ./bin/region_status.rb at ./bin/region_status.rb:139}}
{{ loop at org/jruby/RubyKernel.java:1316}}
{{  at ./bin/region_status.rb:134}}

 

> 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
>Assignee: 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)


[jira] [Commented] (HBASE-24053) hbase/bin/region_status.rb Not available in hbase2

2020-03-26 Thread shenshengli (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-24053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (HBASE-24053) hbase/bin/region_status.rb Not available in hbase2

2020-03-26 Thread shenshengli (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-24053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17068215#comment-17068215
 ] 

shenshengli commented on HBASE-24053:
-

Re-pull request

> 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 it was important to note that 
> MetaTableAccessor had been replaced with getHRegionInfo instead of 
> getHRegionInfo



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-24053) hbase/bin/region_status.rb Not available in hbase2

2020-03-26 Thread Michael Stack (Jira)


[ 
https://issues.apache.org/jira/browse/HBASE-24053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17068076#comment-17068076
 ] 

Michael Stack commented on HBASE-24053:
---

Mind pasting evidence of what happens before and after patch?

The PR seems to have an unrelated change. Thanks.

> 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 it was important to note that 
> MetaTableAccessor had been replaced with getHRegionInfo instead of 
> getHRegionInfo



--
This message was sent by Atlassian Jira
(v8.3.4#803005)