I am new to Sparkand pyspark.
I use pyspark after my processing rdd, I tried to save it in hdfsusing a function saveAsTextfile(). But I get the resolved error message "because pyspark is trying to write hdfs
using my local account" kjlee ", which does not exist on the system hdfs.
I can check the spark username for SparkContext().sparkUser(), but I cannot find how to change the spark username.
How can I change spark username?
source
share