H2O and Spark configuration
Convert given H2O frame into DataFrame type
Create a new H2OFrame based on existing Frame
Create a new H2OFrame based on existing Frame referenced by its key.
Transforms Dataset[Supported type] to H2OFrame
Transform DataFrame to H2OFrame
Transforms RDD[Supported type] to H2OFrame
A generic convert of Frame into Product RDD type
A generic convert of Frame into Product RDD type
Consider using asH2OFrame since asRDD has several limitations such as that asRDD can't be used in Spark REPL in case we are RDD[T] where T is class defined in REPL. This is because class T is created as inner class and we are not able to create instance of class T without outer scope - which is impossible to get.
This code: hc.asRDD[PUBDEV458Type](rdd) will need to be call as hc.asRDD[PUBDEV458Type].apply(rdd)
Convert given H2O frame into a Product RDD type
Convert given H2O frame into a Product RDD type
Consider using asH2OFrame since asRDD has several limitations such as that asRDD can't be used in Spark REPL in case we are RDD[T] where T is class defined in REPL. This is because class T is created as inner class and we are not able to create instance of class T without outer scope - which is impossible to get.
Returns Major Spark version for which is this version of Sparkling Water designated.
Returns Major Spark version for which is this version of Sparkling Water designated.
For example, for 1.6.1 returns 1.6
Converts the RDD to H2O Frame using specified conversion function
Converts the RDD to H2O Frame using specified conversion function
type of RDD to convert
H2O context
rdd to convert
key of the resulting frame
names of the columns in the H2O Frame
types of the vectors in the H2O Frame
conversion function - the function takes parameters needed extra by specific transformations and returns function which does the general transformation
H2O Frame
Return a copy of this H2OContext's configuration.
Return a copy of this H2OContext's configuration. The configuration cannot be changed at runtime.
Gets frame for specified key or none if that frame does not exist
Gets frame for specified key or none if that frame does not exist
key of the requested frame
option containing frame or none
Returns location of REST API of H2O client
Returns IP of H2O client
Returns port where H2O REST API is exposed
Define implicits available via h2oContext.implicits._
This method connects to external H2O cluster if spark.ext.h2o.externalClusterMode is set to true, otherwise it creates new H2O cluster living in Spark
Checks whether version of provided Spark is the same as Spark's version designated for this Sparkling Water version.
Checks whether version of provided Spark is the same as Spark's version designated for this Sparkling Water version. We check for correct version in shell scripts and during the build but we need to do the check also in the code in cases when the user executes for example spark-shell command with sparkling water assembly jar passed as --jars and initiates H2OContext. (Because in that case no check for correct Spark version has been done so far.)
Return true if running inside spark/sparkling water test.
Return true if running inside spark/sparkling water test.
Spark Context
true if the actual run is test run
Open H2O Flow running in this client.
Open browser for given address.
Open browser for given address.
address to open in browser, e.g., http://example.com
Set log level for the client running in driver
Set H2O log level for the client and all executors
Set log level for all H2O services running on executors
Spark Context
Stops H2O context.
Stops H2O context.
stop also spark context
Create a Spark DataFrame from given H2O frame.
Create a Spark DataFrame from given H2O frame.
type of H2O frame
an instance of H2O context
an instance of H2O frame
copy H2O metadata into Spark DataFrame
running sqlContext
a new DataFrame definition using given H2OFrame as data source
Transform supported type for conversion to H2OFrame
Transform supported type for conversion to H2OFrame
Transform Spark's DataFrame into H2O Frame
Transform Spark's DataFrame into H2O Frame
Transform DataFrame to H2OFrame key
Transforms RDD[Supported type] to H2OFrame key
Transform H2OFrame to RDD
Transform H2OFrame to RDD
Open Spark task manager.
Open Spark task manager.
Create new H2OContext based on provided H2O configuration