mesos/spark — pull request #330 by JoshRosen (2012-12-14 01:30:35+00:00)
Title: Use spark-env.sh to configure standalone master

The standalone cluster's `start-master.sh` script does not read `spark-env.sh` and uses different defaults than `start-slaves.sh`. This can cause problems because the slaves may connect to the master using the wrong address (see [SPARK-638](https://spark-project.atlassian.net/browse/SPARK-638)).

This commit fixes this issue by modifying the master startup script to configuration options from `spark-env.sh` and use proper defaults.

I also fixed a typo in the documentation and removed some debug output that was accidentally included in an earlier commit.