mesos/spark — pull request #411 by stephenh (2013-01-24 17:09:37+00:00)
Title: Add LocalSparkContext to manage common sc variable.

I noticed some duplication in the tests around closing the SparkContext and pulled it into a trait to manage.

I had started this awhile ago, but decided to finish it up when I realized all of the clearProperty("spark.master.port") would be spark.driver.port if I start that down that path. So figured doing this first would be good.