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

Nihal Jain edited comment on HBASE-28269 at 12/19/23 9:43 AM:
--------------------------------------------------------------

[~zhangduo]  let me know if you want this before you cut the RC. I have a 
simple fix for 3 files, except {{region_status.rb}} which is broken by all ends.

If this is needed, can fix {{region_status.rb}} as another JIRA. No sure who 
uses it though as this is broken in branch-2 as well. We should maybe deprecate 
and remove it.


was (Author: nihaljain.cs):
[~zhangduo]  let me know if you want this before you cut the RC. I have a 
simple fix for 3 files, except `region_status.rb` which is broken by all ends.

> Ruby scripts are broken as they import non-existent classes
> -----------------------------------------------------------
>
>                 Key: HBASE-28269
>                 URL: https://issues.apache.org/jira/browse/HBASE-28269
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha-4
>            Reporter: Nihal Jain
>            Assignee: Nihal Jain
>            Priority: Major
>              Labels: ruby
>
> Some of the ruby scripts are broken in 3.x as they are referencing 
> non-existent classes, these were deprecated earlier and removed in 3.x:
>  * {{org.apache.hadoop.hbase.client.HBaseAdmin}}
>  * {{org.apache.hadoop.hbase.HTableDescriptor}}
> Following 4 scripts are failing:
> {code:java}
> NameError: missing class name org.apache.hadoop.hbase.client.HBaseAdmin
>   method_missing at org/jruby/javasupport/JavaPackage.java:253
>           <main> at region_status.rb:50
> {code}
> {code:java}
> {NameError: missing class name org.apache.hadoop.hbase.HTableDescriptor
>   method_missing at org/jruby/javasupport/JavaPackage.java:253
>           <main> at replication/copy_tables_desc.rb:30
> {code}
> {code:java}
> NameError: missing class name org.apache.hadoop.hbase.client.HBaseAdmin
>   method_missing at org/jruby/javasupport/JavaPackage.java:253
>           <main> at draining_servers.rb:28
> {code}
> {code:java}
> NameError: missing class name org.apache.hadoop.hbase.client.HBaseAdmin
>   method_missing at org/jruby/javasupport/JavaPackage.java:253
>           <main> at shutdown_regionserver.rb:27
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to