maybe we can make SPARK_PUBLIC_DNS as an optional parameter in spark-env.sh, so that we don't need to set specific environment variables for different IaaS platforms