Nihal Jain created HBASE-29352:
----------------------------------

             Summary: HBase shell fails with "NotImplementedError: fstat 
unimplemented unsupported or native support failed to load" on Mac
                 Key: HBASE-29352
                 URL: https://issues.apache.org/jira/browse/HBASE-29352
             Project: HBase
          Issue Type: Task
    Affects Versions: 2.5.11
            Reporter: Nihal Jain
            Assignee: Nihal Jain


hbase shell fails with below error on branch-2.5 HEAD

 
{code:java}
(base) nihjain@WM-KYH6YRXJRF hbase-2.5.12-SNAPSHOT % ./bin/hbase shell 
-Djruby.native.verbose=true

HBase Shell

Use "help" to get list of supported commands.

Use "exit" to quit this interactive shell.

For Reference, please visit: http://hbase.apache.org/2.0/book.html#shell

Version 2.5.12-SNAPSHOT, r8bb4e14872831408ed68aaebbaffc4765d4bada2, Fri May 23 
15:04:10 IST 2025

Took 0.0000 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:50
<main> at classpath:/jar-bootstrap.rb:225 {code}
Found this while trying to test HBASE-29293

 

Not sure if all others OS have a issue, may be a MacOS specific thing. I was 
able to resolve by moving to JRuby 9.2.21.0

 

CC: [~apurtell] 



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

Reply via email to