pyspark.SparkContext.sparkUser

SparkContext.sparkUser() → str[source]

Get SPARK_USER for user who is running SparkContext.