[
https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856046#comment-16856046
]
Hudson commented on HBASE-22535:
--------------------------------
Results for branch branch-2.0
[build #1645 on
builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1645/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1645//General_Nightly_Build_Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1645//JDK8_Nightly_Build_Report_(Hadoop2)/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.0/1645//JDK8_Nightly_Build_Report_(Hadoop3)/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
> 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)