{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8872","labels_url":"https://api.github.com/repos/apache/spark/issues/8872/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8872/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8872/events","html_url":"https://github.com/apache/spark/pull/8872","id":107807072,"number":8872,"title":"[SPARK-10749][MESOS] Support multiple roles with mesos cluster mode.","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":26,"created_at":"2015-09-22T21:31:01Z","updated_at":"2016-01-28T20:10:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8872","html_url":"https://github.com/apache/spark/pull/8872","diff_url":"https://github.com/apache/spark/pull/8872.diff","patch_url":"https://github.com/apache/spark/pull/8872.patch"},"body":"Currently the Mesos cluster dispatcher is not using offers from multiple roles correctly, as it simply aggregates all the offers resource values into one, but doesn't apply them correctly before calling the driver as Mesos needs the resources from the offers to be specified which role it originally belongs to. Multiple roles is already supported with fine/coarse grain scheduler, so porting that logic here to the cluster scheduler.\r\n\r\nhttps://issues.apache.org/jira/browse/SPARK-10749\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/176381627","html_url":"https://github.com/apache/spark/pull/8872#issuecomment-176381627","issue_url":"https://api.github.com/repos/apache/spark/issues/8872","id":176381627,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T20:10:36Z","updated_at":"2016-01-28T20:10:36Z","body":"**[Test build #50292 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/50292/consoleFull)** for PR 8872 at commit [`0998f41`](https://github.com/apache/spark/commit/0998f41a32097847739cfd2e5c308dfffb498927).\n * This patch **fails Scala style tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}