I'm having issues updating rsparkling
to work with Sparkling Water 2.2 and Spark 2.2. Everything worked with previous versions (<2.1).
I have installed the rsparkling version R package that comes with the latest Sparkling Water 2.2 binaries (as per https://h2o-release.s3.amazonaws.com/sparkling-water/rel-2.2/0/index.html), and set the sparkling water version to the install location (i.e. options(rsparkling.sparklingwater.location = "/Users/me/sparkling-water-2.2.0/")).
I can now connect to my cluster, but get error
java.lang.ClassNotFoundException: org.apache.spark.h2o.H2OContext
I think this may have to do with the h2o version I am using - 3.14.0.2
which is the version recommended in the install page.
Does anyone know which version of h2o sparkling water 2.2 works with? The rsparkling documentation (https://github.com/h2oai/rsparkling) is not updated to 2.2. Could this error be the result of something else?
I am connecting to a standalone spark cluster, and my setup is:
Cluster/local Spark version: 2.2
R: 3.4.2
RStudio: 1.0.153
Sparklyr: 0.6.2
h2o: 3.14.0.2
rsparkling: 2.1
Maybe you don't have correctly install all the dependancies for spark, h2o and Rstudio. I have this issue, and by following the doc I notice that I have not all the package.
This is how I fix the issue for me, following the doc here
Make sure you have devtools installed, in Rstudio run this command:
install.packages('devtools')
.Then:
library(devtools) devtools::install_github("h2oai/rsparkling", ref = "master")
Hope this could hepl you.