pyspark.SparkFiles.getRootDirectory

classmethod SparkFiles.getRootDirectory() → str

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