public class SparkFiles
extends Object
SparkContext.addFile()
.Constructor and Description |
---|
SparkFiles() |
Modifier and Type | Method and Description |
---|---|
static String |
get(String filename)
Get the absolute path of a file added through
SparkContext.addFile() . |
static String |
getRootDirectory()
Get the root directory that contains files added through
SparkContext.addFile() . |