[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16856115#comment-16856115 ] Hudson commented on HBASE-22535: Results for branch branch-2.1 [build #1229 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1229/]: (/) *{color:green}+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.1/1229//General_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1229//JDK8_Nightly_Build_Report_(Hadoop2)/] (/) {color:green}+1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.1/1229//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16856093#comment-16856093 ] Hudson commented on HBASE-22535: Results for branch master [build #1088 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/1088/]: (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/master/1088//General_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/master/1088//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/master/1088//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16856078#comment-16856078 ] Hudson commented on HBASE-22535: Results for branch branch-2.2 [build #330 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/330/]: (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.2/330//General_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-2.2/330//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.2/330//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16856053#comment-16856053 ] Hudson commented on HBASE-22535: Results for branch branch-1 [build #874 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/874/]: (x) *{color:red}-1 overall{color}* details (if available): (x) {color:red}-1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/874//General_Nightly_Build_Report/] (x) {color:red}-1 jdk7 checks{color} -- For more information [see jdk7 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1/874//JDK7_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-1/874//JDK8_Nightly_Build_Report_(Hadoop2)/] (/) {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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16856038#comment-16856038 ] Hudson commented on HBASE-22535: Results for branch branch-2 [build #1961 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-2/1961/]: (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/1961//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/1961//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/1961//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16856001#comment-16856001 ] Biju Nair commented on HBASE-22535: --- Thanks [~jatsakthi] for the information. > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16855981#comment-16855981 ] Sakthi commented on HBASE-22535: Thanks [~busbey] for pushing this in. > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16855830#comment-16855830 ] Sean Busbey commented on HBASE-22535: - I can reproduce this locally with: {quote} mvn -version OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0 Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T13:41:47-05:00) Maven home: /usr/local/Cellar/maven/3.6.0/libexec Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac" {quote} Looking at the code I'm not sure why this even works on JDK8. It must be that however JRuby uses reflection bypasses the access modifier on the class. > 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 >Priority: Minor > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1682#comment-1682 ] Biju Nair commented on HBASE-22535: --- Hi [~jatsakthi], For your v11 tests which flavor of Java JDK are you using? Oracle or OpenJDK? > 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 >Priority: Minor > 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)
[jira] [Commented] (HBASE-22535) TestShellRSGroups fails when run on JDK11
[ https://issues.apache.org/jira/browse/HBASE-22535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16855440#comment-16855440 ] HBase QA commented on HBASE-22535: -- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 21s{color} | {color:blue} Docker mode activated. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} hbaseanti {color} | {color:green} 0m 0s{color} | {color:green} Patch does not have any anti-patterns. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | | {color:orange}-0{color} | {color:orange} test4tests {color} | {color:orange} 0m 0s{color} | {color:orange} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 31s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 22s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 13s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 4m 38s{color} | {color:green} branch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 38s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 18s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 4m 17s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 23s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 23s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 12s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedjars {color} | {color:green} 5m 54s{color} | {color:green} patch has no errors when building our shaded downstream artifacts. {color} | | {color:green}+1{color} | {color:green} hadoopcheck {color} | {color:green} 13m 16s{color} | {color:green} Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 46s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 17s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} unit {color} | {color:green} 4m 2s{color} | {color:green} hbase-rsgroup in the patch passed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 8s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 45m 2s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/PreCommit-HBASE-Build/487/artifact/patchprocess/Dockerfile | | JIRA Issue | HBASE-22535 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12970772/hbase-22535.master.001.patch | | Optional Tests | dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile | | uname | Linux 4be5222e2a9a 4.4.0-143-generic #169~14.04.2-Ubuntu SMP Wed Feb 13 15:00:41 UTC 2019 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/hbase-personality.sh | | git revision | master / aacacc5cce | | maven | version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) | | Default Java | 1.8.0_181 | | findbugs | v3.1.11 | | Test Results | https://builds.apache.org/job/PreCommit-HBASE-Build/487/testReport/ | | Max. process+thread count | 3901 (vs. ulimit of 1) | | modules | C: hbase-rsgroup U: hbase-rsgroup | | Console output |