fs = sc._jvm.org.apache.hadoop.fs.FileSystem.get(sc._jsc.hadoopConfiguration()) fs.exists(sc._jvm.org.apache.hadoop.fs.Path("path/to/SUCCESS.txt"))