pyspark.SparkContext.sparkUser

SparkContext.sparkUser() → str

Get SPARK_USER for user who is running SparkContext.