paul8263 commented on code in PR #4908:
URL: https://github.com/apache/zeppelin/pull/4908#discussion_r1953647929


##########
hbase/pom.xml:
##########
@@ -33,7 +33,7 @@
   <properties>
     <!--library versions-->
     <interpreter.name>hbase</interpreter.name>
-    <jruby.version>1.6.8</jruby.version>
+    <jruby.version>9.1.17.0</jruby.version>

Review Comment:
   Hi @pan3793 ,
   Thank you for your reply.
   I got a breakthough. 
[jruby-7221](https://github.com/jruby/jruby/issues/7221) says 9.3.0.0 need to 
require "jruby" to avoid undefined method 'runtime' for JRuby:Module.
   I tested hbase interpreter with JRuby 9.2.13.0 and it worked fine for HBase 
2.0.0.
   Once I upgraded JRuby to 9.3.13.0, the same exception occured. But it could 
be fixed by adding`require 'jruby'` at the beginning of 
$HBASE_HOME/lib/ruby/irb/hirb.rb (bin/hirb.rb also works) for HBase 2.0.0.
   In conclusion, personally I prefer using JRuby 9.2.13.0. Correct me if I was 
wrong.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to