我试图在 Alpine vm上安装。
我在这里按照教程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
有什么建议吗?谢谢。
最佳答案
找到了答案
需要安装其他软件包。
sudo apt-get install jruby -y
sudo apt-get install asciidoctor -y
关于python - Hbase Shell收到此错误:fstat未实现,不受支持或无法加载 native 支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61002948/