-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Java 16, 17 #3005
Labels
Comments
JIRA Issue Migration Info Jira Issue: SW-2741 |
JIRA Issue Migration Info Cont'd Jira Issue Created Date: 2022-08-29T07:57:35.842-0700 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
H2OContext.getOrCreate() throws the following exception:
{noformat}java.lang.IllegalAccessError: class ai.h2o.sparkling.backend.utils.RestCommunication (in unnamed module @0x58cb38af) cannot access class sun.net.www.protocol.http.Handler (in module java.base) because module java.base does not export sun.net.www.protocol.http to unnamed module @0x58cb38af
at ai.h2o.sparkling.backend.utils.RestCommunication.resolveUrl(RestCommunication.scala:323)
at ai.h2o.sparkling.backend.utils.RestCommunication.readURLContent(RestCommunication.scala:381)
at ai.h2o.sparkling.backend.utils.RestCommunication.readURLContent$(RestCommunication.scala:370)
at ai.h2o.sparkling.backend.utils.RestApiUtils$.readURLContent(RestApiUtils.scala:96)
at ai.h2o.sparkling.backend.utils.RestCommunication.request(RestCommunication.scala:182)
at ai.h2o.sparkling.backend.utils.RestCommunication.request$(RestCommunication.scala:172)
at ai.h2o.sparkling.backend.utils.RestApiUtils$.request(RestApiUtils.scala:96)
at ai.h2o.sparkling.backend.utils.RestCommunication.update(RestCommunication.scala:88)
at ai.h2o.sparkling.backend.utils.RestCommunication.update$(RestCommunication.scala:81)
at ai.h2o.sparkling.backend.utils.RestApiUtils$.update(RestApiUtils.scala:96)
at ai.h2o.sparkling.backend.utils.H2OContextExtensions.lockCloud(H2OContextExtensions.scala:235)
at ai.h2o.sparkling.backend.utils.H2OContextExtensions.tryToLockCloud(H2OContextExtensions.scala:122)
at ai.h2o.sparkling.backend.utils.H2OContextExtensions.getAndVerifyWorkerNodes(H2OContextExtensions.scala:137)
at ai.h2o.sparkling.backend.utils.H2OContextExtensions.getAndVerifyWorkerNodes$(H2OContextExtensions.scala:131)
at ai.h2o.sparkling.H2OContext.getAndVerifyWorkerNodes(H2OContext.scala:65)
at ai.h2o.sparkling.H2OContext.(H2OContext.scala:85)
at ai.h2o.sparkling.H2OContext$.getOrCreate(H2OContext.scala:479)
at ai.h2o.sparkling.H2OContext$.getOrCreate(H2OContext.scala:491)
... 49 elided
{noformat}
Sparkling Water explicitly sets handlers for creation of http connection. (see [https://h2oai.atlassian.net/browse/SW-2302|https://h2oai.atlassian.net/browse/SW-2302|smart-link] )
{noformat} val handler = if (endpoint.getScheme == "https") {
new sun.net.www.protocol.https.Handler()
} else {
new sun.net.www.protocol.http.Handler()
}
val spec = new URI(endpointWithDelimiter).resolve(suffixWithoutDelimiter).toURL.toString
because of the following problem: [https://issues.apache.org/jira/browse/SPARK-25694|https://issues.apache.org/jira/browse/SPARK-25694|smart-link]
The text was updated successfully, but these errors were encountered: