mesos/spark — pull request #159 by dennybritz (2012-08-02 02:49:18+00:00)
Title: Spark WebUI

- Uses spray.twirl (https://github.com/spray/twirl)
- CSS and JS files are included twice, once for the worker and once for the master resources. We may want to have just one shared resources folder since most people won't separate the code.
- One problem that (I think, untested) remains is that the code uses the machine's local IP address (same as the spark server) in the URL links, even though the WebUI server is bound to 0.0.0.0/0. That means if you're running on a cluster with both a private and public ip address the private one will be used and you won't be able to follow the links from outside the cluster.
- Jobs are always marked as completed. We need to add conditions under which a job counts as FAILED.