pyspark.SparkFiles.getRootDirectory

classmethod SparkFiles.getRootDirectory()[source]

Get the root directory that contains files added through SparkContext.addFile().