Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28247

Add java.base/sun.net.dns and java.base/sun.net.util export to jdk11 JVM test flags

    XMLWordPrintableJSON

Details

    Description

      While testing with JDK17 we have found that we need to add

            --add-exports java.base/sun.net.dns=ALL-UNNAMED
            --add-exports java.base/sun.net.util=ALL-UNNAMED
      

      on top of what is already defined in hbase-surefire.jdk11.flags , otherwise RS and Master startup fails in the Hadoop security code.

      While this does not affect the test suite (at least not the commonly run tests), I consider hbase-surefire.jdk11.flags to be an unoffical resource to getting HBase to run on newer JDK versions.

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: