syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

Question:
In H2O Sparkling-Water how to register file to Spark?

I pulled this syntax off of github:

sc.addFile("data/iris.csv")
The github URL is/was:

https://github.com/h2oai/h2o-droplets/blob/master/sparkling-water-droplet/src/main/scala/water/droplets/SparklingWaterDroplet.scala

Note that the path to iris.csv is a relative path.

I studied it and have memorized that the path is relative to build.gradle which is the file I use to build my project within IntelliJ.

syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me