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

Sean Busbey edited comment on HBASE-26983 at 6/11/22 5:02 AM:
--------------------------------------------------------------

okay I figured it out. We started overriding the version of JRuby used by the 
plugin to get aarch64 support in HBASE-19547. In version 2.1.0 of the plugin 
they switched from using the jruby-complete dependency to the jruby dependency, 
but we coincidentally happened to both be on the same version.

Let me file a follow on to put up one of the two possible fixes.


was (Author: busbey):
okay I figured it out. We started overriding the version of JRuby used by the 
plugin to get aarch64 support in HBASE-19547. In version 2.2.0 of the plugin 
they switched from using the jruby-complete dependency to the jruby dependency, 
but we coincidentally happened to both be on the same version.

Let me file a follow on to put up one of the two possible fixes.

> Upgrade JRuby to 9.3.4.0
> ------------------------
>
>                 Key: HBASE-26983
>                 URL: https://issues.apache.org/jira/browse/HBASE-26983
>             Project: HBase
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 3.0.0-alpha-2, 2.4.11
>         Environment: Apple M1 OSX ARM64.
>            Reporter: Vijay Akkineni
>            Assignee: Sean Busbey
>            Priority: Major
>             Fix For: 2.6.0, 3.0.0-alpha-3
>
>
> Hbase shell is failing to start on Apple M1 OSX ARM 64 processor architecture.
> *Error:*
> {code}
> Version 2.4.11, r7e672a0da0586e6b7449310815182695bc6ae193, Tue Mar 15 
> 10:31:00 PDT 2022
> Took 0.0010 seconds
> NotImplementedError: fstat unimplemented unsupported or native support failed 
> to load; see https://github.com/jruby/jruby/wiki/Native-Libraries
>   initialize at org/jruby/RubyIO.java:1015
>         open at org/jruby/RubyIO.java:1156
>   initialize at 
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/input-method.rb:141
>   initialize at 
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb/context.rb:70
>   initialize at 
> uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/irb.rb:410
>   initialize at uri:classloader:/irb/hirb.rb:49
>       <main> at classpath:/jar-bootstrap.rb:223
> {code}
>  
> {*}Uname output{*}:
> {code}
> Darwin vijays-mbp.lan 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 
> 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to