You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
new URL(null, spec, handler){noformat}
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:
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: