confs = conf.getConf().getAll() # Same as with a spark session # confs = spark.sparkContext.getConf().getAll() for conf in confs: print (conf[0], conf[1])