Skip to contents

This function creates a HiveContext from an existing JavaSparkContext

Usage

sparkRHive.init(jsc = NULL)

Arguments

jsc

The existing JavaSparkContext created with SparkR.init()

Details

Starting SparkR 2.0, a SparkSession is initialized and returned instead. This API is deprecated and kept for backward compatibility only.

Note

sparkRHive.init since 1.4.0

See also

Examples

if (FALSE) { # \dontrun{
sc <- sparkR.init()
sqlContext <- sparkRHive.init(sc)
} # }