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

Sakthi commented on HBASE-22535:
--------------------------------

[~gsbiju], my current java 11 version is:
{code:java}
$ java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
{code}

> TestShellRSGroups fails when run on JDK11
> -----------------------------------------
>
>                 Key: HBASE-22535
>                 URL: https://issues.apache.org/jira/browse/HBASE-22535
>             Project: HBase
>          Issue Type: Bug
>          Components: java, shell
>            Reporter: Sakthi
>            Assignee: Sakthi
>            Priority: Minor
>              Labels: jdk11
>             Fix For: 3.0.0, 1.5.0, 2.3.0, 2.0.6, 2.2.1, 2.1.6
>
>         Attachments: hbase-22535.master.001.patch
>
>
> When built on Java 8 and unit tests are run on Java 11, TestShellRSGroups 
> fails. A sample stacktrace:
> {code}
>  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.293 s <<< 
> FAILURE! - in org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups
> testRunShellTests(org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups) 
> Time elapsed: 2.879 s <<< ERROR!
> org.jruby.embed.EvalFailedException: (RuntimeError) Shell unit tests failed. 
> Check output file for details.
> at 
> org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups.testRunShellTests(TestShellRSGroups.java:102)
> Caused by: org.jruby.exceptions.RaiseException: (RuntimeError) Shell unit 
> tests failed. Check output file for details.
> Error: 
> ^[[48;5;16;38;5;226;1mtest_Test_bogus_arguments(Hbase::RSGroupShellTest)^[[0m:
>  TypeError: illegal access on constructor for type 'RSGroupAdminClient': 
> class org.jruby.javasupport.JavaConstructor cannot access a member of class 
> org.apache.hadoop.hbase.rsgroup.RSGroupAdminClient with modifiers "public"
> /Users/jatsakthi/dev/hbase/hbase-shell/src/test/ruby/shell/rsgroup_shell_test.rb:30:in
>  `setup'
> org/jruby/RubyArray.java:1735:in `each'{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to