mesos/spark — pull request #534 by stephenh (2013-03-18 06:59:19+00:00)
Title: Remove try/catch block that can't be hit.

Minor change, but like the code from the StandaloneExecutorBackend.preStart that was fixed a few weeks ago, all of these method calls are async, and so will not cause connection/etc. exceptions.

Granted, this is not causing any bugs, but it can lure the programmer into thinking the calls are sync (it did me anyway) and so lead to seemingly-surprising behavior.

It seems simpler to just take it out, so it mirrors what StandaloneExecutorBackend.preStart looks like now.