{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8610","labels_url":"https://api.github.com/repos/apache/spark/issues/8610/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8610/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8610/events","html_url":"https://github.com/apache/spark/pull/8610","id":105006834,"number":8610,"title":"[SPARK-5337][Mesos][Standalone] respect spark.task.cpus when scheduling Applications","user":{"login":"CodingCat","id":678008,"avatar_url":"https://avatars.githubusercontent.com/u/678008?v=3","gravatar_id":"","url":"https://api.github.com/users/CodingCat","html_url":"https://github.com/CodingCat","followers_url":"https://api.github.com/users/CodingCat/followers","following_url":"https://api.github.com/users/CodingCat/following{/other_user}","gists_url":"https://api.github.com/users/CodingCat/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingCat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingCat/subscriptions","organizations_url":"https://api.github.com/users/CodingCat/orgs","repos_url":"https://api.github.com/users/CodingCat/repos","events_url":"https://api.github.com/users/CodingCat/events{/privacy}","received_events_url":"https://api.github.com/users/CodingCat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-09-05T06:00:04Z","updated_at":"2015-11-27T21:57:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8610","html_url":"https://github.com/apache/spark/pull/8610","diff_url":"https://github.com/apache/spark/pull/8610.diff","patch_url":"https://github.com/apache/spark/pull/8610.patch"},"body":"https://issues.apache.org/jira/browse/SPARK-5337\r\n\r\nCurrently, we didn't consider spark.task.cpus when scheduling the applications in Master, so that we may fall into one of the following cases\r\n\r\nthe executor gets N cores but we need M cores to run a single task, where N < M\r\n\r\nthe executor gets N cores, we need M cores to run a single task, where N % M != 0 && N > M; so that we waste some cores in the executor\r\n\r\nPatch for YARN is in submitted by @WangTaoTheTonic : #4123"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/160218056","html_url":"https://github.com/apache/spark/pull/8610#issuecomment-160218056","issue_url":"https://api.github.com/repos/apache/spark/issues/8610","id":160218056,"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":"2015-11-27T21:57:55Z","updated_at":"2015-11-27T21:57:55Z","body":"**[Test build #46829 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46829/consoleFull)** for PR 8610 at commit [`8232a80`](https://github.com/apache/spark/commit/8232a808e398f3644304822d1824aa0b923090dc).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}