You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sakthi (JIRA)" <ji...@apache.org> on 2019/06/04 05:28:00 UTC
[jira] [Created] (HBASE-22535) TestShellRSGroups fails when run on
JDK11
Sakthi created HBASE-22535:
------------------------------
Summary: TestShellRSGroups fails when run on JDK11
Key: HBASE-22535
URL: https://issues.apache.org/jira/browse/HBASE-22535
Project: HBase
Issue Type: Bug
Reporter: Sakthi
Assignee: Sakthi
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)