{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8610","repository_url":"https://api.github.com/repos/apache/spark","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][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":51,"created_at":"2015-09-05T06:00:04Z","updated_at":"2016-06-15T22:32:35Z","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/226339730","html_url":"https://github.com/apache/spark/pull/8610#issuecomment-226339730","issue_url":"https://api.github.com/repos/apache/spark/issues/8610","id":226339730,"user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T22:32:35Z","updated_at":"2016-06-15T22:32:35Z","body":"Thanks for the pull request. I'm going through a list of pull requests to cut them down since the sheer number is breaking some of the tooling we have. Due to lack of activity on this pull request, I'm going to push a commit to close it. Feel free to reopen it or create a new one. We can also continue the discussion on the JIRA ticket.\r\n\r\n"}}
{"actor":{"display_login":"rxin"}}