[SPARK-3571] Spark standalone cluster mode doesn't work.

I think, this issue is caused by #1106
This is what I mean: https://github.com/andrewor14/spark/compare/apache:master...andrewor14:fix-standalone-cluster