pyspark.SparkFiles.getRootDirectory

classmethod SparkFiles.getRootDirectory() → str[source]

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