Earlier i was able to do all things using h2o RStudio, After updating macbook to OS X El Capitan 10.11.5 & re-installing java, i am getting error while converting R object to h2o object using
library(h2o)
localH2O <- h2o.init(nthreads = -1)
h2o.init()
trainM.h2o <- as.h2o(trainModel)
Below error on last command
ERROR: Unexpected HTTP Status code: 500 Server Error (url = http://localhost:54321/3/PostFile?destination_frame=%2Fprivate%2Fvar%2Ffolders%2Fcj%2Fz9hjhlgs0vxbmxv2khxl_7680000gp%2FT%2FRtmpkCwgtt%2Ffile729381d82a7.csv_sid_8233_14)
Error: lexical error: invalid char in json text.
<html> <head> <meta http-equiv=
(right here) ------^
I have tried as mentioned below by some of the user to try as below, which gives me same error pasted below commands.
library(h2o)
h2o.init()
irisPath = system.file("extdata", "iris.csv", package="h2o")
iris_data <- h2o.uploadFile(irisPath, 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/PostFile?destination_frame=%2FUsers%2Fparindsheel%2FLibrary%2FR%2F3.3%2Flibrary%2Fh2o%2Fextdata%2Firis.csv_sid_8233_15)
Error: lexical error: invalid char in json text.
<html> <head> <meta http-equiv=
(right here) ------^
Please help me to figure out the solution to this problem.
Cheers!
Parind
connection successful , what i got. What might be the issue in such case
Time: 2016-06-05 11:56:37.291
curlError: FALSE
curlErrorMessage:
httpStatusCode: 500
httpStatusMessage: Server Error
millis: 9002
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 Server Error</title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /3/PostFile. Reason:
<pre> Server Error</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
it is the same error message from my log file mentioned in earlier message,
Still clueless as it says server error