{"action":"created","comment":{"url":"https://api.github.com/repos/twosigma/Cook/pulls/comments/79843035","id":79843035,"diff_hunk":"@@ -155,7 +155,27 @@\n   [dru]\n   (* dru metrics-dru-scale))\n \n-(defn compute-pending-job-dru\n+(defn compute-pending-gpu-job-dru","path":"scheduler/src/cook/mesos/rebalancer.clj","position":14,"original_position":14,"commit_id":"c93f2216a8cdc7754828db8a54b2cb7f3ebb9fff","original_commit_id":"c93f2216a8cdc7754828db8a54b2cb7f3ebb9fff","user":{"login":"wyegelwel","id":1468189,"avatar_url":"https://avatars.githubusercontent.com/u/1468189?v=3","gravatar_id":"","url":"https://api.github.com/users/wyegelwel","html_url":"https://github.com/wyegelwel","followers_url":"https://api.github.com/users/wyegelwel/followers","following_url":"https://api.github.com/users/wyegelwel/following{/other_user}","gists_url":"https://api.github.com/users/wyegelwel/gists{/gist_id}","starred_url":"https://api.github.com/users/wyegelwel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyegelwel/subscriptions","organizations_url":"https://api.github.com/users/wyegelwel/orgs","repos_url":"https://api.github.com/users/wyegelwel/repos","events_url":"https://api.github.com/users/wyegelwel/events{/privacy}","received_events_url":"https://api.github.com/users/wyegelwel/received_events","type":"User","site_admin":false},"body":"Add docstring for this function. It is probably worth putting a mention on why it exist separate from the function below.","created_at":"2016-09-21T14:15:16Z","updated_at":"2016-09-21T14:15:16Z","html_url":"https://github.com/twosigma/Cook/pull/186#discussion_r79843035","pull_request_url":"https://api.github.com/repos/twosigma/Cook/pulls/186","_links":{"self":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/comments/79843035"},"html":{"href":"https://github.com/twosigma/Cook/pull/186#discussion_r79843035"},"pull_request":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/186"}}},"pull_request":{"url":"https://api.github.com/repos/twosigma/Cook/pulls/186","id":86034471,"html_url":"https://github.com/twosigma/Cook/pull/186","diff_url":"https://github.com/twosigma/Cook/pull/186.diff","patch_url":"https://github.com/twosigma/Cook/pull/186.patch","issue_url":"https://api.github.com/repos/twosigma/Cook/issues/186","number":186,"state":"open","locked":false,"title":"Add GPU support to Cook","user":{"login":"dgrnbrg","id":618507,"avatar_url":"https://avatars.githubusercontent.com/u/618507?v=3","gravatar_id":"","url":"https://api.github.com/users/dgrnbrg","html_url":"https://github.com/dgrnbrg","followers_url":"https://api.github.com/users/dgrnbrg/followers","following_url":"https://api.github.com/users/dgrnbrg/following{/other_user}","gists_url":"https://api.github.com/users/dgrnbrg/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrnbrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrnbrg/subscriptions","organizations_url":"https://api.github.com/users/dgrnbrg/orgs","repos_url":"https://api.github.com/users/dgrnbrg/repos","events_url":"https://api.github.com/users/dgrnbrg/events{/privacy}","received_events_url":"https://api.github.com/users/dgrnbrg/received_events","type":"User","site_admin":false},"body":"This adds support for:\r\n- GPU resources on agents, which will only be accepted if enabled in the\r\n  config file\r\n- Scheduling GPU jobs on GPU machines and non-GPU jobs on non-GPU\r\n  machines\r\n- Uses DRU & preemption with GPUs as well, but they're considered\r\n  independently\r\n- Adds GPUs to the REST API\r\n- If GPUs are enabled and the Mesos version doesn't support them, fails\r\n  loudly","created_at":"2016-09-20T18:51:02Z","updated_at":"2016-09-21T14:15:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e20e23067b54c9a7f86bd86662d079d5b0b2032","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/twosigma/Cook/pulls/186/commits","review_comments_url":"https://api.github.com/repos/twosigma/Cook/pulls/186/comments","review_comment_url":"https://api.github.com/repos/twosigma/Cook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twosigma/Cook/issues/186/comments","statuses_url":"https://api.github.com/repos/twosigma/Cook/statuses/c93f2216a8cdc7754828db8a54b2cb7f3ebb9fff","head":{"label":"dgrnbrg:gpu-scheduler","ref":"gpu-scheduler","sha":"c93f2216a8cdc7754828db8a54b2cb7f3ebb9fff","user":{"login":"dgrnbrg","id":618507,"avatar_url":"https://avatars.githubusercontent.com/u/618507?v=3","gravatar_id":"","url":"https://api.github.com/users/dgrnbrg","html_url":"https://github.com/dgrnbrg","followers_url":"https://api.github.com/users/dgrnbrg/followers","following_url":"https://api.github.com/users/dgrnbrg/following{/other_user}","gists_url":"https://api.github.com/users/dgrnbrg/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrnbrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrnbrg/subscriptions","organizations_url":"https://api.github.com/users/dgrnbrg/orgs","repos_url":"https://api.github.com/users/dgrnbrg/repos","events_url":"https://api.github.com/users/dgrnbrg/events{/privacy}","received_events_url":"https://api.github.com/users/dgrnbrg/received_events","type":"User","site_admin":false},"repo":{"id":44702368,"name":"Cook","full_name":"dgrnbrg/Cook","owner":{"login":"dgrnbrg","id":618507,"avatar_url":"https://avatars.githubusercontent.com/u/618507?v=3","gravatar_id":"","url":"https://api.github.com/users/dgrnbrg","html_url":"https://github.com/dgrnbrg","followers_url":"https://api.github.com/users/dgrnbrg/followers","following_url":"https://api.github.com/users/dgrnbrg/following{/other_user}","gists_url":"https://api.github.com/users/dgrnbrg/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrnbrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrnbrg/subscriptions","organizations_url":"https://api.github.com/users/dgrnbrg/orgs","repos_url":"https://api.github.com/users/dgrnbrg/repos","events_url":"https://api.github.com/users/dgrnbrg/events{/privacy}","received_events_url":"https://api.github.com/users/dgrnbrg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dgrnbrg/Cook","description":"Fair job scheduler on Mesos for batch workloads and Spark","fork":true,"url":"https://api.github.com/repos/dgrnbrg/Cook","forks_url":"https://api.github.com/repos/dgrnbrg/Cook/forks","keys_url":"https://api.github.com/repos/dgrnbrg/Cook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dgrnbrg/Cook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dgrnbrg/Cook/teams","hooks_url":"https://api.github.com/repos/dgrnbrg/Cook/hooks","issue_events_url":"https://api.github.com/repos/dgrnbrg/Cook/issues/events{/number}","events_url":"https://api.github.com/repos/dgrnbrg/Cook/events","assignees_url":"https://api.github.com/repos/dgrnbrg/Cook/assignees{/user}","branches_url":"https://api.github.com/repos/dgrnbrg/Cook/branches{/branch}","tags_url":"https://api.github.com/repos/dgrnbrg/Cook/tags","blobs_url":"https://api.github.com/repos/dgrnbrg/Cook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dgrnbrg/Cook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dgrnbrg/Cook/git/refs{/sha}","trees_url":"https://api.github.com/repos/dgrnbrg/Cook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dgrnbrg/Cook/statuses/{sha}","languages_url":"https://api.github.com/repos/dgrnbrg/Cook/languages","stargazers_url":"https://api.github.com/repos/dgrnbrg/Cook/stargazers","contributors_url":"https://api.github.com/repos/dgrnbrg/Cook/contributors","subscribers_url":"https://api.github.com/repos/dgrnbrg/Cook/subscribers","subscription_url":"https://api.github.com/repos/dgrnbrg/Cook/subscription","commits_url":"https://api.github.com/repos/dgrnbrg/Cook/commits{/sha}","git_commits_url":"https://api.github.com/repos/dgrnbrg/Cook/git/commits{/sha}","comments_url":"https://api.github.com/repos/dgrnbrg/Cook/comments{/number}","issue_comment_url":"https://api.github.com/repos/dgrnbrg/Cook/issues/comments{/number}","contents_url":"https://api.github.com/repos/dgrnbrg/Cook/contents/{+path}","compare_url":"https://api.github.com/repos/dgrnbrg/Cook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dgrnbrg/Cook/merges","archive_url":"https://api.github.com/repos/dgrnbrg/Cook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dgrnbrg/Cook/downloads","issues_url":"https://api.github.com/repos/dgrnbrg/Cook/issues{/number}","pulls_url":"https://api.github.com/repos/dgrnbrg/Cook/pulls{/number}","milestones_url":"https://api.github.com/repos/dgrnbrg/Cook/milestones{/number}","notifications_url":"https://api.github.com/repos/dgrnbrg/Cook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dgrnbrg/Cook/labels{/name}","releases_url":"https://api.github.com/repos/dgrnbrg/Cook/releases{/id}","deployments_url":"https://api.github.com/repos/dgrnbrg/Cook/deployments","created_at":"2015-10-21T20:28:59Z","updated_at":"2016-09-06T16:58:50Z","pushed_at":"2016-09-20T21:07:14Z","git_url":"git://github.com/dgrnbrg/Cook.git","ssh_url":"git@github.com:dgrnbrg/Cook.git","clone_url":"https://github.com/dgrnbrg/Cook.git","svn_url":"https://github.com/dgrnbrg/Cook","homepage":"","size":634,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"twosigma:master","ref":"master","sha":"be95620e5a0206362e32d1d0b664b78e2f4cea93","user":{"login":"twosigma","id":4049181,"avatar_url":"https://avatars.githubusercontent.com/u/4049181?v=3","gravatar_id":"","url":"https://api.github.com/users/twosigma","html_url":"https://github.com/twosigma","followers_url":"https://api.github.com/users/twosigma/followers","following_url":"https://api.github.com/users/twosigma/following{/other_user}","gists_url":"https://api.github.com/users/twosigma/gists{/gist_id}","starred_url":"https://api.github.com/users/twosigma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twosigma/subscriptions","organizations_url":"https://api.github.com/users/twosigma/orgs","repos_url":"https://api.github.com/users/twosigma/repos","events_url":"https://api.github.com/users/twosigma/events{/privacy}","received_events_url":"https://api.github.com/users/twosigma/received_events","type":"Organization","site_admin":false},"repo":{"id":42325066,"name":"Cook","full_name":"twosigma/Cook","owner":{"login":"twosigma","id":4049181,"avatar_url":"https://avatars.githubusercontent.com/u/4049181?v=3","gravatar_id":"","url":"https://api.github.com/users/twosigma","html_url":"https://github.com/twosigma","followers_url":"https://api.github.com/users/twosigma/followers","following_url":"https://api.github.com/users/twosigma/following{/other_user}","gists_url":"https://api.github.com/users/twosigma/gists{/gist_id}","starred_url":"https://api.github.com/users/twosigma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twosigma/subscriptions","organizations_url":"https://api.github.com/users/twosigma/orgs","repos_url":"https://api.github.com/users/twosigma/repos","events_url":"https://api.github.com/users/twosigma/events{/privacy}","received_events_url":"https://api.github.com/users/twosigma/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twosigma/Cook","description":"Fair job scheduler on Mesos for batch workloads and Spark","fork":false,"url":"https://api.github.com/repos/twosigma/Cook","forks_url":"https://api.github.com/repos/twosigma/Cook/forks","keys_url":"https://api.github.com/repos/twosigma/Cook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twosigma/Cook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twosigma/Cook/teams","hooks_url":"https://api.github.com/repos/twosigma/Cook/hooks","issue_events_url":"https://api.github.com/repos/twosigma/Cook/issues/events{/number}","events_url":"https://api.github.com/repos/twosigma/Cook/events","assignees_url":"https://api.github.com/repos/twosigma/Cook/assignees{/user}","branches_url":"https://api.github.com/repos/twosigma/Cook/branches{/branch}","tags_url":"https://api.github.com/repos/twosigma/Cook/tags","blobs_url":"https://api.github.com/repos/twosigma/Cook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twosigma/Cook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twosigma/Cook/git/refs{/sha}","trees_url":"https://api.github.com/repos/twosigma/Cook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twosigma/Cook/statuses/{sha}","languages_url":"https://api.github.com/repos/twosigma/Cook/languages","stargazers_url":"https://api.github.com/repos/twosigma/Cook/stargazers","contributors_url":"https://api.github.com/repos/twosigma/Cook/contributors","subscribers_url":"https://api.github.com/repos/twosigma/Cook/subscribers","subscription_url":"https://api.github.com/repos/twosigma/Cook/subscription","commits_url":"https://api.github.com/repos/twosigma/Cook/commits{/sha}","git_commits_url":"https://api.github.com/repos/twosigma/Cook/git/commits{/sha}","comments_url":"https://api.github.com/repos/twosigma/Cook/comments{/number}","issue_comment_url":"https://api.github.com/repos/twosigma/Cook/issues/comments{/number}","contents_url":"https://api.github.com/repos/twosigma/Cook/contents/{+path}","compare_url":"https://api.github.com/repos/twosigma/Cook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twosigma/Cook/merges","archive_url":"https://api.github.com/repos/twosigma/Cook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twosigma/Cook/downloads","issues_url":"https://api.github.com/repos/twosigma/Cook/issues{/number}","pulls_url":"https://api.github.com/repos/twosigma/Cook/pulls{/number}","milestones_url":"https://api.github.com/repos/twosigma/Cook/milestones{/number}","notifications_url":"https://api.github.com/repos/twosigma/Cook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twosigma/Cook/labels{/name}","releases_url":"https://api.github.com/repos/twosigma/Cook/releases{/id}","deployments_url":"https://api.github.com/repos/twosigma/Cook/deployments","created_at":"2015-09-11T18:20:08Z","updated_at":"2016-09-20T07:51:24Z","pushed_at":"2016-09-20T21:07:15Z","git_url":"git://github.com/twosigma/Cook.git","ssh_url":"git@github.com:twosigma/Cook.git","clone_url":"https://github.com/twosigma/Cook.git","svn_url":"https://github.com/twosigma/Cook","homepage":"","size":800,"stargazers_count":154,"watchers_count":154,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":60,"forks":32,"open_issues":60,"watchers":154,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/186"},"html":{"href":"https://github.com/twosigma/Cook/pull/186"},"issue":{"href":"https://api.github.com/repos/twosigma/Cook/issues/186"},"comments":{"href":"https://api.github.com/repos/twosigma/Cook/issues/186/comments"},"review_comments":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/186/comments"},"review_comment":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twosigma/Cook/pulls/186/commits"},"statuses":{"href":"https://api.github.com/repos/twosigma/Cook/statuses/c93f2216a8cdc7754828db8a54b2cb7f3ebb9fff"}}}}
{"actor":{"display_login":"wyegelwel"}}