[ 
https://issues.apache.org/jira/browse/HBASE-29352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nihal Jain updated HBASE-29352:
-------------------------------
    Description: 
hbase shell fails with below error on branch-2.5 HEAD

 
{code:java}
(base) hbase-2.5.12-SNAPSHOT % ./bin/hbase shell
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 for my 
version of Mac. I was able to resolve by moving to JRuby 9.2.21.0.

CC: [~apurtell] 

  was:
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 for my 
version of Mac. I was able to resolve by moving to JRuby 9.2.21.0.

CC: [~apurtell] 


> 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
>          Components: shell
>    Affects Versions: 2.5.11
>            Reporter: Nihal Jain
>            Assignee: Nihal Jain
>            Priority: Major
>
> hbase shell fails with below error on branch-2.5 HEAD
>  
> {code:java}
> (base) hbase-2.5.12-SNAPSHOT % ./bin/hbase shell
> 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 for my 
> version of Mac. 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