{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5144","labels_url":"https://api.github.com/repos/apache/spark/issues/5144/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5144/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5144/events","html_url":"https://github.com/apache/spark/pull/5144","id":63842878,"number":5144,"title":"[SPARK-][MESOS] Add cluster mode support for Mesos","user":{"login":"tnachen","id":67244,"avatar_url":"https://avatars.githubusercontent.com/u/67244?v=3","gravatar_id":"","url":"https://api.github.com/users/tnachen","html_url":"https://github.com/tnachen","followers_url":"https://api.github.com/users/tnachen/followers","following_url":"https://api.github.com/users/tnachen/following{/other_user}","gists_url":"https://api.github.com/users/tnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/tnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnachen/subscriptions","organizations_url":"https://api.github.com/users/tnachen/orgs","repos_url":"https://api.github.com/users/tnachen/repos","events_url":"https://api.github.com/users/tnachen/events{/privacy}","received_events_url":"https://api.github.com/users/tnachen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T21:54:56Z","updated_at":"2015-03-23T21:56:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5144","html_url":"https://github.com/apache/spark/pull/5144","diff_url":"https://github.com/apache/spark/pull/5144.diff","patch_url":"https://github.com/apache/spark/pull/5144.patch"},"body":"This patch adds the support for cluster mode to run on Mesos.\r\nIt introduces a new Mesos framework dedicated to launch new apps/drivers, and can be called with the spark-submit script and specifying --master flag to the cluster mode REST interface instead of Mesos master.\r\n\r\nExample:\r\n./bin/spark-submit --deploy-mode cluster --class org.apache.spark.examples.SparkPi --master mesos://10.0.0.206:8077 --executor-memory 1G --total-executor-cores 100 examples/target/spark-examples_2.10-1.3.0-SNAPSHOT.jar 30\r\n\r\nPart of this patch is also to abstract the StandaloneRestServer so it can have different implementations of the REST endpoints.\r\n\r\nFeatures of the cluster mode in this PR:\r\n- Supports supervise mode where scheduler will keep trying to reschedule exited job.\r\n- Adds a new UI for the cluster mode scheduler to see all the running jobs, finished jobs, and supervise jobs waiting to be retried\r\n- Supports state persistence to ZK, so when the cluster scheduler fails over it can pick up all the queued and running jobs\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/85219844","html_url":"https://github.com/apache/spark/pull/5144#issuecomment-85219844","issue_url":"https://api.github.com/repos/apache/spark/issues/5144","id":85219844,"user":{"login":"tnachen","id":67244,"avatar_url":"https://avatars.githubusercontent.com/u/67244?v=3","gravatar_id":"","url":"https://api.github.com/users/tnachen","html_url":"https://github.com/tnachen","followers_url":"https://api.github.com/users/tnachen/followers","following_url":"https://api.github.com/users/tnachen/following{/other_user}","gists_url":"https://api.github.com/users/tnachen/gists{/gist_id}","starred_url":"https://api.github.com/users/tnachen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnachen/subscriptions","organizations_url":"https://api.github.com/users/tnachen/orgs","repos_url":"https://api.github.com/users/tnachen/repos","events_url":"https://api.github.com/users/tnachen/events{/privacy}","received_events_url":"https://api.github.com/users/tnachen/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T21:56:40Z","updated_at":"2015-03-23T21:56:40Z","body":"@andrewor14 Let me know what you think!"}}