[jruby] Help on 'Cannot Initialize Java Class' error

Sreeram sreeram.v at gmail.com
Mon Jan 18 22:01:15 JST 2016


Hi,

I built HBase using cygwin in my local machine (the master branch) and I
get below error when starting up hbase shell.

The JDK/JRE version I have is 1.8.0_51.

Any help on this is much appreciated.

NameError: cannot initialize Java class
org.apache.hadoop.hbase.HColumnDescriptor
  get_proxy_or_package_under_package at
org/jruby/javasupport/JavaUtilities.java:54
  method_missing at
file:/C:/Users/xxxx/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/javasupport/java.rb:51
  HBaseConstants at
d:/hbase-master/hbase-master/bin/../hbase-shell/src/main/ruby/hbase.rb:93
 (root) at
d:/hbase-master/hbase-master/bin/../hbase-shell/src/main/ruby/hbase.rb:34
  require at org/jruby/RubyKernel.java:1062
 (root) at d:/hbase-master/hbase-master/bin/../bin/hirb.rb:118


Sreeram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ruby-lang.org/pipermail/jruby/attachments/20160118/6afa365d/attachment.html>


More information about the JRuby mailing list