python - Hbase Shell收到此错误:fstat未实现,不受支持或无法加载 native 支持

标签 python hadoop hbase alpine

我试图在 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/

相关文章:

scala - 在 Spark 中处理超过 3GB 的记录大小

hadoop - 如何停止Hadoop cat:在shell中运行循环时无法自动写入输出流?

linux -/etc/profile 中的环境变量不适用于 Ubuntu 12.04LTS 上的 HBase

java - HBase-创建表时出错

python - 当存在 unicode 数据时,Json 解码器不一致

python - pyephem 在 NeverUpError 上提前观察者日期

Hadoop快照查询-删除&元数据信息

apache - HBase MapReduce作业的log4j

python - 用于运行 pytest 的 Azure 自托管代理

python - 如何使用 pyopencv_to 函数?