Rapids apply: java.lang.AssertionError at water.fvec.Frame.<init>(Frame.java:100) at water.fvec.Frame.<init>(Frame.java:72) at water.rapids.ASTApply.apply(ASTApply.java:63) at water.rapids.AST.treeWalk(AST.java:50)

Description

parse iris, do some funs and apply
This is an old test that was working in the Dec/Jan time frame
03-10 22:43:48.275 192.168.0.34:54333 419 # Session ERRR: java.lang.AssertionError
java.lang.AssertionError
at water.fvec.Frame.<init>(Frame.java:100)
at water.fvec.Frame.<init>(Frame.java:72)
at water.rapids.ASTApply.apply(ASTApply.java:63)
at water.rapids.AST.treeWalk(AST.java:50)
at water.rapids.Exec.exec(Exec.java:74)
at water.api.RapidsHandler.exec(RapidsHandler.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
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:629)
at water.api.RequestServer.serve(RequestServer.java:587)
at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:434)
at java.lang.Thread.run(Thread.java:745)

I put a long timeout on the Rapids request (25 secs) ...so it will look like it hangs that it scrapes the log for the Assertion error below, so you'll see that as the cause for the timeout (side note: the assertion error should cause the rapids json to complete with the stack trace, ideally..apparently doesn't)

to run
cd h2o-dev/py2/testdir_rapids
python test_rapids_basic_with_funs_pick5.py

you can use -uc to connect to existing localhost:54321 h2o.jar

fails on this funs and apply
2015-03-10 22:38:28.525523 – Start http://192.168.0.34:54333/1/Rapids.json # {'funs': '[(def anon {x} ((= !v (c {#1;#4567;(: #9 #90);(: #9 #45);#450});;(= !v2 %v );;(= !v2 (n %v %v));;(= !v2 (N %v %v));;(= !v2 (- %v %v));;(= !v2 (+ %v %v)));;]', 'ast': None};
2015-03-10 22:38:28.530527 – Start http://192.168.0.34:54333/1/Rapids.json # {'funs': None, 'ast': '(apply %r1 #2 %anon)'};

while it might be a little difficult to see how I'm using the list in "pick5" groups
it looks like there's no random element..i.e. it should fail the same way each time..so I don't need to provide a seed here

Activity

Show:
Spencer Aiello
March 11, 2015, 11:26 PM

fixed in commit eb65fbbae553de84a6b7be5668fea565161fc4ae

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Spencer Aiello

Reporter

Kevin Normoyle

CustomerVisible

No