Description
We actually don't know where driver will be before it is launched in yarn-cluster mode. If we set spark.driver.host property, Spark will create Actor on the hostname or ip as setted, which will leads an error.
So we should ignore this config item in yarn-cluster mode.
As joshrosen] pointed, we also ignore it in standalone cluster mode.