XMLWordPrintableJSON

Details

    Description

      When built on Java 8 and unit tests are run on Java 11, TestShellRSGroups fails. A sample stacktrace:

       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'

      Attachments

        Activity

          People

            sakthi Sakthi
            sakthi Sakthi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: