You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (Jira)" <ji...@apache.org> on 2022/04/27 19:20:00 UTC

[jira] [Commented] (HBASE-26983) HBase shell should work for dev/test runtime on M1 systems

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

Sean Busbey commented on HBASE-26983:
-------------------------------------

reading the [JRuby 9.3 release notes|https://github.com/jruby/jruby/wiki/JRuby-9.3.0.0-Release-Notes], things to be mindful of:

* "require/load/autoload subsystem has been rewritten to better match Ruby behavior."
* Added Ruby 2.6 support (but didn't change default?)
* Expects Java 8 - 17 (some rumblings about upcoming drop of 8)
* warning about avoiding a direct dependency on {{jruby-core}} (should be either {{jruby-base}} or {{jruby-complete}}

> HBase shell should work for dev/test runtime on M1 systems
> ----------------------------------------------------------
>
>                 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)