sparkRHive.init {SparkR}R Documentation

(Deprecated) Initialize a new HiveContext

Description

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

sparkR.session

Examples

## Not run: 
##D sc <- sparkR.init()
##D sqlContext <- sparkRHive.init(sc)
## End(Not run)

[Package SparkR version 3.2.2 Index]