I was following the steps for running Sparkling water with external backend from here. I am using spark 1.4.1
, sparkling-water-1.4.16
, I've build the extended h2o jar and exported the H2O_ORIGINAL_JAR
and H2O_EXTENDED_JAR
system variables. I start the h2o backend with
java -jar $H2O_EXTENDED_JAR -md5skip -name test
But when I start sparkling water via
./bin/sparkling-shell
and in it try to get the H2OConf
with
import org.apache.spark.h2o._
val conf = new H2OConf(sc).setExternalClusterMode().useManualClusterStart().setCloudName("test”)
val hc = H2OContext.getOrCreate(sc, conf)
it fails on the second line with
<console>:24: error: trait H2OConf is abstract; cannot be instantiated
val conf = new H2OConf(sc).setExternalClusterMode().useManualClusterStart().setCloudName("test")
^
I've tried adding the newly build extended h2o jar with --jars
parameter either to sparkling water or standalone spark with no progress. Does any one have any hints?
sparkling-water-1.4.16
the class was still abstract and therefore unusable in this way. – JaKu