{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5116","labels_url":"https://api.github.com/repos/apache/spark/issues/5116/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5116/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5116/events","html_url":"https://github.com/apache/spark/pull/5116","id":63378794,"number":5116,"title":"[SPARK-6443][Spark Submit]Could not submit app in standalone cluster mode when HA is enabled","user":{"login":"WangTaoTheTonic","id":5276001,"avatar_url":"https://avatars.githubusercontent.com/u/5276001?v=3","gravatar_id":"","url":"https://api.github.com/users/WangTaoTheTonic","html_url":"https://github.com/WangTaoTheTonic","followers_url":"https://api.github.com/users/WangTaoTheTonic/followers","following_url":"https://api.github.com/users/WangTaoTheTonic/following{/other_user}","gists_url":"https://api.github.com/users/WangTaoTheTonic/gists{/gist_id}","starred_url":"https://api.github.com/users/WangTaoTheTonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangTaoTheTonic/subscriptions","organizations_url":"https://api.github.com/users/WangTaoTheTonic/orgs","repos_url":"https://api.github.com/users/WangTaoTheTonic/repos","events_url":"https://api.github.com/users/WangTaoTheTonic/events{/privacy}","received_events_url":"https://api.github.com/users/WangTaoTheTonic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":40,"created_at":"2015-03-21T08:46:55Z","updated_at":"2015-04-03T15:36:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5116","html_url":"https://github.com/apache/spark/pull/5116","diff_url":"https://github.com/apache/spark/pull/5116.diff","patch_url":"https://github.com/apache/spark/pull/5116.patch"},"body":"**3/26 update:**\r\n* Akka-based:\r\n  Use an array of `ActorSelection` to represent multiple master. Add an `activeMasterActor` for query status of driver. And will add lost masters( including the standby one) to `lostMasters`.\r\n  When size of `lostMasters` equals or greater than # of all masters, we should give an error that all masters are not avalible.\r\n\r\n* Rest-based:\r\n  When all masters are not available(throw an exception), we use akka gateway to submit apps.\r\n\r\nI have tested simply on standalone HA cluster(with two masters alive and one alive/one dead), it worked.\r\n\r\nThere might remains some issues on style or message print, but we can check the solution then fix them together.\r\n\r\n/cc @srowen @andrewor14 \r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/89327398","html_url":"https://github.com/apache/spark/pull/5116#issuecomment-89327398","issue_url":"https://api.github.com/repos/apache/spark/issues/5116","id":89327398,"user":{"login":"WangTaoTheTonic","id":5276001,"avatar_url":"https://avatars.githubusercontent.com/u/5276001?v=3","gravatar_id":"","url":"https://api.github.com/users/WangTaoTheTonic","html_url":"https://github.com/WangTaoTheTonic","followers_url":"https://api.github.com/users/WangTaoTheTonic/followers","following_url":"https://api.github.com/users/WangTaoTheTonic/following{/other_user}","gists_url":"https://api.github.com/users/WangTaoTheTonic/gists{/gist_id}","starred_url":"https://api.github.com/users/WangTaoTheTonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangTaoTheTonic/subscriptions","organizations_url":"https://api.github.com/users/WangTaoTheTonic/orgs","repos_url":"https://api.github.com/users/WangTaoTheTonic/repos","events_url":"https://api.github.com/users/WangTaoTheTonic/events{/privacy}","received_events_url":"https://api.github.com/users/WangTaoTheTonic/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T15:36:39Z","updated_at":"2015-04-03T15:36:39Z","body":"Jenkins, test this please."}}