Modify to propagete error using ConnectionManager
Merge branch 'master' of git://git.apache.org/spark into SPARK-2583
automatically set master according to `spark.master` in `spark-defaults....

automatically set master according to `spark.master` in `spark-defaults.conf`

Author: CrazyJvm <crazyjvm@gmail.com>

Closes #1644 from CrazyJvm/standalone-guide and squashes the following commits:

bb12b95 [CrazyJvm] automatically set master according to `spark.master` in `spark-defaults.conf`
Merge branch 'SPARK-2670' of github.com:sarutak/spark into SPARK-2583
Merge branch 'master' of git://git.apache.org/spark into SPARK-2583
Removed useless results.put for fail fast