apache/spark — pull request #3436 by pwendell (2014-11-25 00:36:53+00:00)
Title: [SPARK-4525] Mesos should decline unused offers

Functionally, this is just a small change on top of #3393 (by @jongyoul). The issue being addressed is discussed in the comments there. I have not yet added a test for the bug there. I will add one shortly.

I've also done some minor renaming/clean-up of variables in this class and tests.