I am seeing the error below when trying to import data table from R to H2o after uninstalling and reinstalling h2o. Current h2o package version is 3.6.0.8. Any help will be appreciated.
#Information about newdata1
> class(newdata1)
[1] "data.table" "data.frame"
> sapply(newdata1,class)
tag citation expmm expyy make state location violCode Description
"factor" "integer" "factor" "integer" "factor" "factor" "factor" "integer" "factor"
violFine balance penaltyDate openFine openPenalty noticeDate ImportDate frequency violHours
"numeric" "numeric" "logical" "numeric" "numeric" "factor" "factor" "integer" "character"
violDates address lubhour
"factor" "character" "integer"
#Error
> pv.hex <- as.h2o(newdata1, destination_frame = "pv.hex")
ERROR: Unexpected HTTP Status code: 500 Server Error (url = http://localhost:54321/3/Parse)
java.lang.RuntimeException
[1] "water.MRTask.getResult(MRTask.java:505)"
[2] "water.MRTask.doAll(MRTask.java:379)"
[3] "water.MRTask.doAll(MRTask.java:366)"
[4] "water.MRTask.doAll(MRTask.java:365)"
[5] "water.parser.ParseDataset.parseAllKeys(ParseDataset.java:264)"
[6] "water.parser.ParseDataset.access$000(ParseDataset.java:30)"
[7] "water.parser.ParseDataset$ParserFJTask.compute2(ParseDataset.java:149)"
[8] "water.H2O$H2OCountedCompleter.compute(H2O.java:1069)"
[9] "jsr166y.CountedCompleter.exec(CountedCompleter.java:468)"
[10] "jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)"
[11] "jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)"
[12] "jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)"
[13] "jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)"
Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, :
water.DException$DistributedException: from /127.0.0.1:54321; by class water.parser.ParseDataset$UpdateCategoricalChunksTask; class java.lang.NullPointerException: null
Thanks,
Ritesh
I was not able to recreate your problem. Could you please send me the logs (you can download them in R using the command h2o.downloadAllLogs())?
Thanks,
Avni
Any help would be much appreciated.
ERROR MESSAGE:
> market_data <- h2o.uploadFile(filePath, destination_frame = "",parse = T,header = T, sep = ",", na.strings = c("unknown"),progressBar = FALSE, parse_type = "CSV")
ERROR: Unexpected HTTP Status code: 500 Server Error (url = http://localhost:54321/3/Parse)
water.DException.DistributedException
[1] "water.parser.FVecParseWriter.setIsAllASCII(FVecParseWriter.java:143)"
[2] "water.parser.CsvParser.parseChunk(CsvParser.java:131)"
[3] "water.parser.ParseDataset$MultiFileParseTask$DistributedParse.map(ParseDataset.java:868)"
[4] "water.MRTask.compute2(MRTask.java:612)"
[5] "water.H2O$H2OCountedCompleter.compute1(H2O.java:1093)"
[6] "water.parser.ParseDataset$MultiFileParseTask$DistributedParse$Icer.compute1(ParseDataset$MultiFileParseTask$DistributedParse$Icer.java)"
[7] "water.H2O$H2OCountedCompleter.compute(H2O.java:1089)"
[8] "jsr166y.CountedCompleter.exec(CountedCompleter.java:468)"
[9] "jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)"
[10] "jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)"
[11] "jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)"
[12] "jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)"
Hi,
Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, :
ERROR MESSAGE:
from /127.0.0.1:54321; by class water.parser.ParseDataset$MultiFileParseTask; class java.lang.ArrayIndexOutOfBoundsException: 1
--
You received this message because you are subscribed to the Google Groups "H2O Open Source Scalable Machine Learning - h2ostream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2ostream+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, that all works as it should and I get the progress bar and can see the data.
John
i got below error by running your provided command. please help
ERROR: Unexpected HTTP Status code: 500 Server Error (url = http://localhost:54321/3/PostFile?destination_frame=%2FUsers%2Fparindsheel%2FLibrary%2FR%2F3.3%2Flibrary%2Fh2o%2Fextdata%2Firis.csv_sid_99f6_5)
Error: lexical error: invalid char in json text.
<html> <head> <meta http-equiv=
(right here) ------^
06-30 11:33:35.907 127.0.0.1:54321 25532 #95976-17 INFO: Method: GET , URI: /3/Frames/predictions_bfb5_DRF_model_R_1467278657227_1_on_RTMP_sid_a812_7, route: /3/Frames/(?<frameid>.*), parms: {frame_id=predictions_bfb5_DRF_model_R_1467278657227_1_on_RTMP_sid_a812_7, row_count=10} 06-30 11:35:29.987 127.0.0.1:54321 25532 #95976-12 INFO: Method: POST , URI: /99/Models.bin/, route: /99/Models.bin/(?<modelid>.*), parms: {dir=./models/GBM_model_R_1462269640231_2, model_id=} 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: water.exceptions.H2OIllegalArgumentException: Illegal argument: dir of function: importModel: water.api.FSIOException: FS IO Failure: 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: accessed path : file:/C:/Users/xxxxx/Documents/./models/GBM_model_R_1462269640231_2 msg: File not found 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at water.api.ModelsHandler.importModel(ModelsHandler.java:193) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at java.lang.reflect.Method.invoke(Method.java:606) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at water.api.Handler.handle(Handler.java:62) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at water.api.RequestServer.handle(RequestServer.java:655) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at water.api.RequestServer.serve(RequestServer.java:596) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:740) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:676) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.Server.handle(Server.java:370) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 06-30 11:35:29.989 127.0.0.1:54321 25532 #95976-12 ERRR: at java.lang.Thread.run(Thread.java:745)