1.Properties set directly on the SparkConf take highest precedence,

 

 

2.then flags passed to spark-submit or spark-shell,

 

 

3.then options in the spark-defaults.conf file

相关文章: