Return absolute path of a file location
Return absolute path of a file location
path to a file
absolute path to a file
Add files into Spark context
Add files into Spark context
Spark session
path to files to add
Add files into Spark context
Add files into Spark context
Spark context
path to files to add
Helper method to configure basic spark settings
Helper method to configure basic spark settings
application name
master string
Spark configuration
This method enforces the local path.
This method enforces the local path. For example, if running on Hadoop, Spark by default uses HDFS. If we need to access a local file, for example, from driver, then this method might be useful
path to the file
local path to the file
Export Spark Model to a specified destination URI
Export Spark Model to a specified destination URI
Spark model
destination URI
Returns true if the file has already been added to Spark files
Returns true if the file has already been added to Spark files
Spark context
any path containing the file name
true if the file has already been added to Spark files, otherwise false
Import Spark Model from a specified source URI
Import Spark Model from a specified source URI
Model Type
source URI
the loaded model
Get or create spark context
Get or create spark context
spark configuration
Spark context
Useful methods to configure Spark context