Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18373

fstat unimplemented error on Rasbian Jessie

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Not A Problem
    • 2.0.0-alpha-1
    • None
    • shell
    • None
    • Raspberry Pi 3
      Rasbian Jessie (latest version)

    Description

      I have a Hbase distributed cluster setup on my Raspberry PI cluster (1 x Namenode & 4 x Datanode)

      The stable version of Hbase shell works fine... unfortunately I had hadoop issues (mismatch of jar files.... grrrrr) so I have installed latest Hbase & installed matching version of Hadoop (2.7.1).

      HBase itself is up and running and all good. Hbase shell however gives this error:

      pi@pidoop1:/opt/hbase/lib/ruby/irb $ hbase shell
      2017-07-13 12:25:11,722 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/opt/hbase/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
      HBase Shell
      Use "help" to get list of supported commands.
      Use "exit" to quit this interactive shell.
      Version 2.0.0-alpha-1, rc830a0f47f58d4892dd3300032c8244d6278aecc, Wed Jun 7 22:05:17 PDT 2017
      Took 0.0300 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 /opt/hbase/lib/ruby/irb/hirb.rb:43
      start at /opt/hbase/bin/hirb.rb:194
      <main> at /opt/hbase/bin/hirb.rb:206

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              NathanG3995 Nathan Green
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: