{"action":"created","comment":{"url":"https://api.github.com/repos/apache/flink/pulls/comments/52106077","id":52106077,"diff_hunk":"@@ -211,6 +211,8 @@ The parameters define the behavior of tasks that create result files.\n \t\n \tyarn.application-master.env.LD_LIBRARY_PATH: \"/usr/lib/native\"\n \n+- `yarn.containers.vcores` The number of virtual cores (vcores) per YARN container. By default the number of `vcores` is set equal to the maximum between the number of slots per TaskManager, and the number of cores available to the Java runtime. ","path":"docs/setup/config.md","position":4,"original_position":4,"commit_id":"91d2dc905e5a82b9812dbbe172c9a267eff27ad6","original_commit_id":"91d2dc905e5a82b9812dbbe172c9a267eff27ad6","user":{"login":"kl0u","id":2405800,"avatar_url":"https://avatars.githubusercontent.com/u/2405800?v=3","gravatar_id":"","url":"https://api.github.com/users/kl0u","html_url":"https://github.com/kl0u","followers_url":"https://api.github.com/users/kl0u/followers","following_url":"https://api.github.com/users/kl0u/following{/other_user}","gists_url":"https://api.github.com/users/kl0u/gists{/gist_id}","starred_url":"https://api.github.com/users/kl0u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kl0u/subscriptions","organizations_url":"https://api.github.com/users/kl0u/orgs","repos_url":"https://api.github.com/users/kl0u/repos","events_url":"https://api.github.com/users/kl0u/events{/privacy}","received_events_url":"https://api.github.com/users/kl0u/received_events","type":"User","site_admin":false},"body":"This was to have a fallback strategy in case the slots parameter is not set. But @StephanEwen 's comment probably solves it. The fallback will be set to the previous strategy where vcores=1.","created_at":"2016-02-06T19:13:16Z","updated_at":"2016-02-06T19:13:16Z","html_url":"https://github.com/apache/flink/pull/1588#discussion_r52106077","pull_request_url":"https://api.github.com/repos/apache/flink/pulls/1588","_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/52106077"},"html":{"href":"https://github.com/apache/flink/pull/1588#discussion_r52106077"},"pull_request":{"href":"https://api.github.com/repos/apache/flink/pulls/1588"}}},"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/1588","id":58326400,"html_url":"https://github.com/apache/flink/pull/1588","diff_url":"https://github.com/apache/flink/pull/1588.diff","patch_url":"https://github.com/apache/flink/pull/1588.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/1588","number":1588,"state":"open","locked":false,"title":"FLINK-2213 Makes the number of vcores per YARN container configurable.","user":{"login":"kl0u","id":2405800,"avatar_url":"https://avatars.githubusercontent.com/u/2405800?v=3","gravatar_id":"","url":"https://api.github.com/users/kl0u","html_url":"https://github.com/kl0u","followers_url":"https://api.github.com/users/kl0u/followers","following_url":"https://api.github.com/users/kl0u/following{/other_user}","gists_url":"https://api.github.com/users/kl0u/gists{/gist_id}","starred_url":"https://api.github.com/users/kl0u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kl0u/subscriptions","organizations_url":"https://api.github.com/users/kl0u/orgs","repos_url":"https://api.github.com/users/kl0u/repos","events_url":"https://api.github.com/users/kl0u/events{/privacy}","received_events_url":"https://api.github.com/users/kl0u/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-04T18:15:34Z","updated_at":"2016-02-06T19:13:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eea0d78504d5dd016a5e5ffb1f24d19a7e9bcd7d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/1588/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/1588/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/1588/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/91d2dc905e5a82b9812dbbe172c9a267eff27ad6","head":{"label":"kl0u:vcores_param","ref":"vcores_param","sha":"91d2dc905e5a82b9812dbbe172c9a267eff27ad6","user":{"login":"kl0u","id":2405800,"avatar_url":"https://avatars.githubusercontent.com/u/2405800?v=3","gravatar_id":"","url":"https://api.github.com/users/kl0u","html_url":"https://github.com/kl0u","followers_url":"https://api.github.com/users/kl0u/followers","following_url":"https://api.github.com/users/kl0u/following{/other_user}","gists_url":"https://api.github.com/users/kl0u/gists{/gist_id}","starred_url":"https://api.github.com/users/kl0u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kl0u/subscriptions","organizations_url":"https://api.github.com/users/kl0u/orgs","repos_url":"https://api.github.com/users/kl0u/repos","events_url":"https://api.github.com/users/kl0u/events{/privacy}","received_events_url":"https://api.github.com/users/kl0u/received_events","type":"User","site_admin":false},"repo":{"id":38500934,"name":"flink","full_name":"kl0u/flink","owner":{"login":"kl0u","id":2405800,"avatar_url":"https://avatars.githubusercontent.com/u/2405800?v=3","gravatar_id":"","url":"https://api.github.com/users/kl0u","html_url":"https://github.com/kl0u","followers_url":"https://api.github.com/users/kl0u/followers","following_url":"https://api.github.com/users/kl0u/following{/other_user}","gists_url":"https://api.github.com/users/kl0u/gists{/gist_id}","starred_url":"https://api.github.com/users/kl0u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kl0u/subscriptions","organizations_url":"https://api.github.com/users/kl0u/orgs","repos_url":"https://api.github.com/users/kl0u/repos","events_url":"https://api.github.com/users/kl0u/events{/privacy}","received_events_url":"https://api.github.com/users/kl0u/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kl0u/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/kl0u/flink","forks_url":"https://api.github.com/repos/kl0u/flink/forks","keys_url":"https://api.github.com/repos/kl0u/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kl0u/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kl0u/flink/teams","hooks_url":"https://api.github.com/repos/kl0u/flink/hooks","issue_events_url":"https://api.github.com/repos/kl0u/flink/issues/events{/number}","events_url":"https://api.github.com/repos/kl0u/flink/events","assignees_url":"https://api.github.com/repos/kl0u/flink/assignees{/user}","branches_url":"https://api.github.com/repos/kl0u/flink/branches{/branch}","tags_url":"https://api.github.com/repos/kl0u/flink/tags","blobs_url":"https://api.github.com/repos/kl0u/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kl0u/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kl0u/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/kl0u/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kl0u/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/kl0u/flink/languages","stargazers_url":"https://api.github.com/repos/kl0u/flink/stargazers","contributors_url":"https://api.github.com/repos/kl0u/flink/contributors","subscribers_url":"https://api.github.com/repos/kl0u/flink/subscribers","subscription_url":"https://api.github.com/repos/kl0u/flink/subscription","commits_url":"https://api.github.com/repos/kl0u/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/kl0u/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/kl0u/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/kl0u/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/kl0u/flink/contents/{+path}","compare_url":"https://api.github.com/repos/kl0u/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kl0u/flink/merges","archive_url":"https://api.github.com/repos/kl0u/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kl0u/flink/downloads","issues_url":"https://api.github.com/repos/kl0u/flink/issues{/number}","pulls_url":"https://api.github.com/repos/kl0u/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/kl0u/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/kl0u/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kl0u/flink/labels{/name}","releases_url":"https://api.github.com/repos/kl0u/flink/releases{/id}","deployments_url":"https://api.github.com/repos/kl0u/flink/deployments","created_at":"2015-07-03T16:09:57Z","updated_at":"2016-01-13T16:29:47Z","pushed_at":"2016-02-05T10:06:54Z","git_url":"git://github.com/kl0u/flink.git","ssh_url":"git@github.com:kl0u/flink.git","clone_url":"https://github.com/kl0u/flink.git","svn_url":"https://github.com/kl0u/flink","homepage":null,"size":73129,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"4852302a1b0e2254ca0be283f363e70e867e7b54","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20587599,"name":"flink","full_name":"apache/flink","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/flink","description":"Mirror of Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","deployments_url":"https://api.github.com/repos/apache/flink/deployments","created_at":"2014-06-07T07:00:10Z","updated_at":"2016-02-06T10:15:51Z","pushed_at":"2016-02-06T17:16:47Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":null,"size":91803,"stargazers_count":932,"watchers_count":932,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":603,"mirror_url":"git://git.apache.org/flink.git","open_issues_count":78,"forks":603,"open_issues":78,"watchers":932,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/1588"},"html":{"href":"https://github.com/apache/flink/pull/1588"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/1588"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/1588/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/1588/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/1588/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/91d2dc905e5a82b9812dbbe172c9a267eff27ad6"}}}}