java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • doing this: pros = h2o.import_frame(h2o.locate("smalldata/prostate/prostate.csv")) rows, cols = pros.dim() remove = random.randint(1,5) p1 = pros.remove_vecs(cols=random.sample(range(cols),remove)) new_rows, new_cols = p1.dim() assert new_rows == rows and new_cols == cols-remove, "Expected {0} rows and {1} columns, but got {2} rows and {3} columns.".format(rows,cols,new_rows,new_cols) remove = random.randint(1,5) p1 = pros.remove_vecs(cols=random.sample(pros.names(),remove)) new_rows, new_cols = p1.dim() assert new_rows == rows and new_cols == cols-remove, "Expected {0} rows and {1} columns, but got {2} rows and {3} columns.".format(rows,cols,new_rows,new_cols) gives: INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(= !py9362d9b5-6982-4efd-9855-0ecfd5118229 (removeVecs %prostate9.hex (dlist #1 #3 #5 #6 #8)))} java.lang.IllegalArgumentException: Expected to get an `llist` or `num`. Got: class water.rapids.ASTDoubleList at water.rapids.ASTRemoveVecs.parse_impl(ASTOp.java:3740) at water.rapids.ASTRemoveVecs.parse_impl(ASTOp.java:3730) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTAssign.parse_impl(AST.java:702) at water.rapids.ASTAssign.parse_impl(AST.java:673) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.Exec.exec(Exec.java:64) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:654) at water.api.RequestServer.serve(RequestServer.java:591) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:550) at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:498) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)
    via by Eric Eckstrand,
  • doing this: pros = h2o.import_frame(h2o.locate("smalldata/prostate/prostate.csv")) rows, cols = pros.dim() remove = random.randint(1,5) p1 = pros.remove_vecs(cols=random.sample(range(cols),remove)) new_rows, new_cols = p1.dim() assert new_rows == rows and new_cols == cols-remove, "Expected {0} rows and {1} columns, but got {2} rows and {3} columns.".format(rows,cols,new_rows,new_cols) remove = random.randint(1,5) p1 = pros.remove_vecs(cols=random.sample(pros.names(),remove)) new_rows, new_cols = p1.dim() assert new_rows == rows and new_cols == cols-remove, "Expected {0} rows and {1} columns, but got {2} rows and {3} columns.".format(rows,cols,new_rows,new_cols) gives: INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(= !py9362d9b5-6982-4efd-9855-0ecfd5118229 (removeVecs %prostate9.hex (dlist #1 #3 #5 #6 #8)))} java.lang.IllegalArgumentException: Expected to get an `llist` or `num`. Got: class water.rapids.ASTDoubleList at water.rapids.ASTRemoveVecs.parse_impl(ASTOp.java:3740) at water.rapids.ASTRemoveVecs.parse_impl(ASTOp.java:3730) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTAssign.parse_impl(AST.java:702) at water.rapids.ASTAssign.parse_impl(AST.java:673) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.Exec.exec(Exec.java:64) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:654) at water.api.RequestServer.serve(RequestServer.java:591) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:550) at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:498) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)
    via by Eric Eckstrand,
  • Hi, I have multiple python processes running H2O jobs in parallel and they fail due to name collisions of dataFrames. Both processes run h2o.import_file() ... df[y] = df[y].asfactor() model.train(x, y, training_frame=df which results in the attached error. Is it possible to change the mechanism of allocating names to dataFrames/ASTs to be random rather than sequential? 06-17 10:56:30.782 127.0.0.1:54321 19810 #3401-129 INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(tmp= py_1 (:= train7163151259215880711_tsv.hex (as.factor (cols_py train7163151259215880711_tsv.hex "C66")) 65 [])), session_id=_sid_8d85} 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-128 INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(tmp= py_1 (:= train3704310420633654205_tsv.hex (as.factor (cols_py train3704310420633654205_tsv.hex "C66")) 65 [])), session_id=_sid_84d2} 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: java.lang.IllegalArgumentException: Temp ID py_1 already exists 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:263) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:256) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.Session.exec(Session.java:56) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.Exec.exec(Exec.java:63) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.RapidsHandler.exec(RapidsHandler.java:25) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at java.lang.reflect.Method.invoke(Method.java:606) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.Handler.handle(Handler.java:62) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.RequestServer.handle(RequestServer.java:655) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.RequestServer.serve(RequestServer.java:596) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:745) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:681) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.Server.handle(Server.java:370) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at java.lang.Thread.run(Thread.java:745) 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: Caught exception: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: ERROR MESSAGE: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: Temp ID py_1 already exists
    via by Avishay Livne,
  • Hi, I have multiple python processes running H2O jobs in parallel and they fail due to name collisions of dataFrames. Both processes run h2o.import_file() ... df[y] = df[y].asfactor() model.train(x, y, training_frame=df which results in the attached error. Is it possible to change the mechanism of allocating names to dataFrames/ASTs to be random rather than sequential? 06-17 10:56:30.782 127.0.0.1:54321 19810 #3401-129 INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(tmp= py_1 (:= train7163151259215880711_tsv.hex (as.factor (cols_py train7163151259215880711_tsv.hex "C66")) 65 [])), session_id=_sid_8d85} 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-128 INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(tmp= py_1 (:= train3704310420633654205_tsv.hex (as.factor (cols_py train3704310420633654205_tsv.hex "C66")) 65 [])), session_id=_sid_84d2} 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: java.lang.IllegalArgumentException: Temp ID py_1 already exists 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:263) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:256) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.Session.exec(Session.java:56) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.rapids.Exec.exec(Exec.java:63) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.RapidsHandler.exec(RapidsHandler.java:25) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at java.lang.reflect.Method.invoke(Method.java:606) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.Handler.handle(Handler.java:62) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.RequestServer.handle(RequestServer.java:655) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.api.RequestServer.serve(RequestServer.java:596) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:745) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:681) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.Server.handle(Server.java:370) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 06-17 10:56:30.783 127.0.0.1:54321 19810 #3401-129 ERRR: at java.lang.Thread.run(Thread.java:745) 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: Caught exception: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: ERROR MESSAGE: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: 06-17 10:56:30.786 127.0.0.1:54321 19810 #3401-129 ERRR: Temp ID py_1 already exists
    via by Avishay Livne,
  • >>> foo = h2o.import_frame("/Users/ece/0xdata/h2o-dev/smalldata/iris/iris.csv") >>> foo["C6"] = foo["C1"] > 0.0 >>> foo[:,"C6"].isnumeric() True >>> foo[:,"C6"].all() > foo = h2o.importFile("/Users/ece/0xdata/h2o-dev/smalldata/iris/iris.csv") > foo[,6] = foo[,1] > 0.0 > is.numeric(foo[,6]) [1] FALSE > all(foo[,6]) both give something like: /99/Rapids, route: /99/Rapids, parms: {ast=(= !rapids_65 (all ([ %iris.hex_59 () #5) %FALSE))} java.lang.IllegalArgumentException: column must be a column of 1s and 0s at water.rapids.ASTAll.apply(ASTOp.java:858) at water.rapids.AST.treeWalk(AST.java:49) at water.rapids.AST.treeWalk(AST.java:83) at water.rapids.Exec.exec(Exec.java:68) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:654) at water.api.RequestServer.serve(RequestServer.java:591) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:519) at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:467) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745)
    via by Eric Eckstrand,
  • >>> foo = h2o.import_frame("/Users/ece/0xdata/h2o-dev/smalldata/iris/iris.csv") >>> foo["C6"] = foo["C1"] > 0.0 >>> foo[:,"C6"].isnumeric() True >>> foo[:,"C6"].all() > foo = h2o.importFile("/Users/ece/0xdata/h2o-dev/smalldata/iris/iris.csv") > foo[,6] = foo[,1] > 0.0 > is.numeric(foo[,6]) [1] FALSE > all(foo[,6]) both give something like: /99/Rapids, route: /99/Rapids, parms: {ast=(= !rapids_65 (all ([ %iris.hex_59 () #5) %FALSE))} java.lang.IllegalArgumentException: column must be a column of 1s and 0s at water.rapids.ASTAll.apply(ASTOp.java:858) at water.rapids.AST.treeWalk(AST.java:49) at water.rapids.AST.treeWalk(AST.java:83) at water.rapids.Exec.exec(Exec.java:68) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:654) at water.api.RequestServer.serve(RequestServer.java:591) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:519) at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:467) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745)
    via by Eric Eckstrand,
  • 1. load any data 2. select `Data > Impute` 3. Follow wizard - select frame, column and method, submit the form 4. enjoy the error: {noformat} -122 ERRR: java.lang.IllegalArgumentException: Incorrect number of arguments; 'h2o.impute' expects 8 but was passed 6 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:44) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTAssign.apply(ASTAssign.java:18) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTAssign.apply(ASTAssign.java:11) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.Session.exec(Session.java:56) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.Exec.exec(Exec.java:63) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.RapidsHandler.exec(RapidsHandler.java:25) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at java.lang.reflect.Method.invoke(Method.java:606) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.Handler.handle(Handler.java:62) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.RequestServer.handle(RequestServer.java:655) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.RequestServer.serve(RequestServer.java:596) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:745) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:681) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) {noformat}
    via by Michal Malohlava,
  • python code like this: iris = h2o.import_frame(path=h2o.locate("smalldata/iris/iris_wheader.csv")) iris = iris + 2 foo = h2o.min(iris) #or sum, max, median foo.show() gives: {ast= (, (= !py8515eaa4-e5e4-45c5-894d-3b7412b6e0c6 (min (= !py7eb9e2f9-726e-4e89-bf36-4509ab6975ac (+ 'pydd4356a0-c2a5-4a3c-a9ae-04926a33e09f' #2 ) ) %FALSE ) ) (del 'pydd4356a0-c2a5-4a3c-a9ae-04926a33e09f' #0) )} java.lang.IllegalArgumentException: Expected the na.rm value to be one of $TRUE, $FALSE, $T, $F at water.rapids.ASTReducerOp.parse_impl(ASTOp.java:1539) at water.rapids.ASTReducerOp.parse_impl(ASTOp.java:1512) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTAssign.parse_impl(AST.java:702) at water.rapids.ASTAssign.parse_impl(AST.java:673) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTStatement.parse_impl(AST.java:460) at water.rapids.ASTStatement.parse_impl(AST.java:451) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.Exec.exec(Exec.java:64) at water.api.RapidsHandler.exec(RapidsHandler.java:34) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:57) at water.api.RequestServer.handle(RequestServer.java:662) at water.api.RequestServer.serve(RequestServer.java:598) at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:433) at java.lang.Thread.run(Thread.java:745) The ast appears to be valid. Also, the same sequence of operations in R successfully computes. Here's what the ast in R looks like: {ast=(= !rapids_13_sid_b0d5a06cde2721abd5249b96e1b147a3 (min (+ %iris_wheader.hex_11_sid_b0d5a06cde2721abd5249b96e1b147a3 #2) %FALSE))}
    via by Eric Eckstrand,
    • java.lang.IllegalArgumentException: Expected to get an `llist` or `num`. Got: class water.rapids.ASTDoubleList at water.rapids.ASTRemoveVecs.parse_impl(ASTOp.java:3740) at water.rapids.ASTRemoveVecs.parse_impl(ASTOp.java:3730) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.ASTAssign.parse_impl(AST.java:702) at water.rapids.ASTAssign.parse_impl(AST.java:673) at water.rapids.Exec.parse(Exec.java:101) at water.rapids.Exec.exec(Exec.java:64) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:654) at water.api.RequestServer.serve(RequestServer.java:591) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:550) at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:498) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)
    No Bugmate found.