This is broken.  A stage can be associated with more than one active job.  See discussion of https://github.com/mesos/spark/pull/414