Stringdist (call from R) throws an error when frames are larger than 1000 records

Description

When calling h2o.stringdist on frames with more than 1000 records, (e.g.: h2o.stringdist(as.h2o(rep('Jim',1000)),as.h2o(rep('Jin',1000)),method = 'jw') )
the following error is returned:

ERROR: Unexpected HTTP Status code: 400 Bad Request (url = http://localhost:54321/99/Rapids)

java.lang.IllegalArgumentException
[1] "java.lang.IllegalArgumentException: Vec C2 is not compatible with the rest of the frame"
[2] " water.fvec.Frame.checkCompatibility(Frame.java:236)"
[3] " water.fvec.Frame.<init>(Frame.java:143)"
[4] " water.fvec.Frame.<init>(Frame.java:101)"
[5] " water.fvec.Frame.<init>(Frame.java:96)"
[6] " water.MRTask.doAll(MRTask.java:377)"
[7] " water.rapids.ast.prims.string.AstStrDistance.apply(AstStrDistance.java:59)"
[8] " water.rapids.ast.prims.string.AstStrDistance.apply(AstStrDistance.java:20)"
[9] " water.rapids.ast.AstExec.exec(AstExec.java:63)"
[10] " water.rapids.ast.prims.assign.AstTmpAssign.apply(AstTmpAssign.java:48)"
[11] " water.rapids.ast.prims.assign.AstTmpAssign.apply(AstTmpAssign.java:17)"
[12] " water.rapids.ast.AstExec.exec(AstExec.java:63)"
[13] " water.rapids.Session.exec(Session.java:88)"
[14] " water.rapids.Rapids.exec(Rapids.java:93)"
[15] " water.api.RapidsHandler.exec(RapidsHandler.java:41)"
[16] " sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)"
[17] " sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
[18] " java.lang.reflect.Method.invoke(Method.java:498)"
[19] " water.api.Handler.handle(Handler.java:63)"
[20] " water.api.RequestServer.serve(RequestServer.java:448)"
[21] " water.api.RequestServer.doGeneric(RequestServer.java:297)"
[22] " water.api.RequestServer.doPost(RequestServer.java:223)"
[23] " javax.servlet.http.HttpServlet.service(HttpServlet.java:755)"
[24] " javax.servlet.http.HttpServlet.service(HttpServlet.java:848)"
[25] " org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)"
[26] " org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)"
[27] " org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)"
[28] " org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)"
[29] " org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)"
[30] " org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)"
[31] " org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)"
[32] " org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)"
[33] " water.JettyHTTPD$LoginHandler.handle(JettyHTTPD.java:183)"
[34] " org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)"
[35] " org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)"
[36] " org.eclipse.jetty.server.Server.handle(Server.java:370)"
[37] " org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)"
[38] " org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)"
[39] " org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)"
[40] " org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)"
[41] " org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)"
[42] " org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)"
[43] " org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)"
[44] " org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)"
[45] " org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)"
[46] " org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)"
[47] " java.lang.Thread.run(Thread.java:745)"

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

ERROR MESSAGE:

Vec C2 is not compatible with the rest of the frame

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

Assignee

New H2O Bugs

Reporter

Tamas Kollo

Labels

CustomerVisible

Yes