Yao Zhang created ZEPPELIN-6163:
-----------------------------------

             Summary: Bump jruby version to support HBase 2.x
                 Key: ZEPPELIN-6163
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-6163
             Project: Zeppelin
          Issue Type: Improvement
          Components: Interpreters
    Affects Versions: 0.11.2
         Environment: Zeppelin 0.11.2

HBase 2.0.0
            Reporter: Yao Zhang


Currently in Zeppelin HBase interpreter does not support HBase 2.x ruby syntax.

The relevant expection is below:
{code:java}
org.jruby.embed.EvalFailedException: (SyntaxError) 
/opt/hbase/lib/ruby/hbase/table.rb:808: syntax error, unexpected tDOT .select { 
|s| RegionReplicaUtil.isDefaultReplica(s.getRegion) } {code}
The version of jruby is way too legacy to support new ruby script syntax.

Suggestion: Add a profile which switches jruby version to 
9.1.17.0, which supports HBase 2.x
The reason why don't use the lastest jruby version is it might drop support for 
earlier Ruby version.
 
I would like to submit a PR.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to