Skip to content
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

Does load_h2o_model work? #28

Open
twoolston opened this issue Feb 16, 2024 · 0 comments
Open

Does load_h2o_model work? #28

twoolston opened this issue Feb 16, 2024 · 0 comments

Comments

@twoolston
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant