Skip to content

Does load_h2o_model work? #28

@twoolston

Description

@twoolston

Was able to use save_h20_model to the path. Can see the objects in the directory.

load_h2o_model is throwing a ton of java exceptions. Could this be because this is an apple iCloud drive?

ERROR: Unexpected HTTP Status code: 412 Precondition Failed (url = http://localhost:54321/99/Models.bin/)

water.exceptions.H2OIllegalArgumentException
[1] "water.exceptions.H2OIllegalArgumentException: Illegal argument: dir of function: importModel: water.api.FSIOException: FS IO Failure: \n accessed path : file:/Users/thomaswoolston/Library/Mobile%20Documents/comappleCloudDocs/projects/iflip/ML_Projects/~/Documents/projects/flip/h2o_model msg: File not found"
[2] " water.api.ModelsHandler.importModel(ModelsHandler.java:265)"
[3] " sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)"
[4] " sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)"
[5] " sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
[6] " java.lang.reflect.Method.invoke(Method.java:498)"
[7] " water.api.Handler.handle(Handler.java:60)"
[8] " water.api.RequestServer.serve(RequestServer.java:472)"
[9] " water.api.RequestServer.doGeneric(RequestServer.java:303)"
[10] " water.api.RequestServer.doPost(RequestServer.java:227)"
[11] " javax.servlet.http.HttpServlet.service(HttpServlet.java:707)"
[12] " javax.servlet.http.HttpServlet.service(HttpServlet.java:790)"
[13] " org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)"
[14] " org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:554)"
[15] " org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)"
[16] " org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)"
[17] " org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)"
[18] " org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)"
[19] " org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)"
[20] " org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)"
[21] " org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)"
[22] " org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)"
[23] " org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)"
[24] " water.webserver.jetty9.Jetty9ServerAdapter$LoginHandler.handle(Jetty9ServerAdapter.java:130)"
[25] " org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)"
[26] " org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)"
[27] " org.eclipse.jetty.server.Server.handle(Server.java:516)"
[28] " org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)"
[29] " org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)"
[30] " org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)"
[31] " org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)"
[32] " org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)"
[33] " org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)"
[34] " org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)"
[35] " org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)"
[36] " org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)"
[37] " org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)"
[38] " org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)"
[39] " org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)"
[40] " org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)"
[41] " org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)"
[42] " java.lang.Thread.run(Thread.java:748)"

Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, :

ERROR MESSAGE:

Illegal argument: dir of function: importModel: water.api.FSIOException: FS IO Failure:
accessed path : file:/Users/thomaswoolston/Library/Mobile%20Documents/comappleCloudDocs/projects/iflip/ML_Projects/~/Documents/projects/flip/h2o_model msg: File not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions