hbase shell获取error:fstat unimplemented 无法加载不受支持或本机支持

cetgtptt  于 2021-05-31  发布在  Hadoop
关注(0)|答案(1)|浏览(1127)

我正在尝试在alpine虚拟机上安装。我是按照教程来的https://towardsdatascience.com/setting-up-a-standalone-hbase-local-instance-and-connect-to-it-with-python-happybase-9751c9fe6941
我得到以下错误:

alpine:/home/downloads/hbase-2.2.3# ./bin/hbase shell
2020-04-02 23:34:53,255 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
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.2.3, r6a830d87542b766bd3dc4cfdee28655f62de3974, 2020年 01月 10日 星期五 18:27:51 CST
Took 0.0160 seconds
NotImplementedError: fstat unimplemented unsupported or native support failed to load; see http://wiki.jruby.org/Native-Libraries
  initialize at org/jruby/RubyIO.java:1013
        open at org/jruby/RubyIO.java:1154
  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:426
  initialize at /home/downloads/hbase-2.2.3/lib/ruby/irb/hirb.rb:47
       start at /home/downloads/hbase-2.2.3/bin/../bin/hirb.rb:207
      <main> at /home/downloads/hbase-2.2.3/bin/../bin/hirb.rb:219

有什么建议吗?
谢谢。

jgzswidk

jgzswidk1#

找到了需要安装附加软件包的答案。

sudo apt-get install jruby -y
sudo apt-get install asciidoctor -y

相关问题