[ 
https://issues.apache.org/jira/browse/HBASE-13338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14528310#comment-14528310
 ] 

Ayappan commented on HBASE-13338:
---------------------------------

Jruby-1_7 branch got all the needed stuffs to work properly in ppc64le as of 
today. I am able to build & install jruby-1.7.20-SNAPSHOT as well as hbase with 
the jruby-1.7.20-SNAPSHOT version.

As expected, TestShell unit test fails with following message.
.
Running org.apache.hadoop.hbase.client.TestShell
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.613 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.client.TestShell
testRunShellTests(org.apache.hadoop.hbase.client.TestShell)  Time elapsed: 
1.433 sec  <<< ERROR!
org.jruby.embed.EvalFailedException: (LoadError) no such file to load -- 
src/test/ruby/hbase/admin_test.rb
        at 
org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:132)
        at 
org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1341)
        at 
org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1386)
        at 
org.apache.hadoop.hbase.client.TestShell.testRunShellTests(TestShell.java:36)
Caused by: org.jruby.exceptions.RaiseException: (LoadError) no such file to 
load -- src/test/ruby/hbase/admin_test.rb
        at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1091)
        at RUBY.(root)(src/test/ruby/tests_runner.rb:68)
        at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
        at RUBY.(root)(src/test/ruby/tests_runner.rb:57)


> Hbase to use PowerPC supported Jruby version 1.7.20
> ---------------------------------------------------
>
>                 Key: HBASE-13338
>                 URL: https://issues.apache.org/jira/browse/HBASE-13338
>             Project: HBase
>          Issue Type: Task
>          Components: dependencies, shell
>    Affects Versions: 1.0.0, 0.98.12
>         Environment: PowerPC64, PowerPC64LE
>            Reporter: Ayappan
>
> Older versions of jffi (till 1.2.7) don't have native PPC64 & PPC64LE 
> libraries. The latest released 1.2.8 version has PowerPC libraries and the 
> jruby development version(1.7.20--SNAPSHOT) has been updated to make use of 
> this version. Hbase still uses much older jruby 1.6.8 version which don't 
> have the native libraries and this affects the Hbase shell in PowerPCs. So 
> Hbase needs to be updated to make use of the upcoming Jruby release 1.7.20 to 
> support PowerPC.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to