java.lang.IllegalArgumentException: *Unimplemented* failed lookup on token: `rm`. Contact support@h2o.ai for more information.

JIRA | Mark Chan | 1 year ago
  1. 0

    >>> 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)

    JIRA | 1 year ago | Eric Eckstrand
    java.lang.IllegalArgumentException: column must be a column of 1s and 0s
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    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)

    JIRA | 1 year ago | Eric Eckstrand
    java.lang.IllegalArgumentException: Expected to get an `llist` or `num`. Got: class water.rapids.ASTDoubleList
  4. 0

    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

    JIRA | 6 months ago | Avishay Livne
    java.lang.IllegalArgumentException: Temp ID py_1 already exists

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      *Unimplemented* failed lookup on token: `rm`. Contact support@h2o.ai for more information.

      at water.rapids.Exec.lookup()
    2. water.rapids
      Exec.exec
      1. water.rapids.Exec.lookup(Exec.java:117)
      2. water.rapids.Exec.parse(Exec.java:100)
      3. water.rapids.Exec.exec(Exec.java:64)
      3 frames
    3. water.api
      RapidsHandler.exec
      1. water.api.RapidsHandler.exec(RapidsHandler.java:37)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:58)
      2. water.api.RequestServer.handle(RequestServer.java:668)
      3. water.api.RequestServer.serve(RequestServer.java:609)
      3 frames
    6. water
      JettyHTTPD$H2oDefaultServlet.doPost
      1. water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:617)
      2. water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:565)
      2 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      2 frames