pyspark.SparkContext.sparkUser

SparkContext.sparkUser()[source]

Get SPARK_USER for user who is running SparkContext.