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
# Redis configuration file example # Note on units: when memory size is needed, it is possible to specify # it in the usual form of 1k 5GB 4M and so forth: # 内存大小的配置,下面是内存大小配置的转换方式 # # 1k => 1000 bytes # 1kb => 1024 bytes # 1m => 1000000 bytes #