{"action":"closed","number":487,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/487","id":31264289,"html_url":"https://github.com/apache/flink/pull/487","diff_url":"https://github.com/apache/flink/pull/487.diff","patch_url":"https://github.com/apache/flink/pull/487.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/487","number":487,"state":"closed","locked":false,"title":"[FLINK-1671] Add different execution modes to APIs and optimizer.","user":{"login":"StephanEwen","id":1727146,"avatar_url":"https://avatars.githubusercontent.com/u/1727146?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanEwen","html_url":"https://github.com/StephanEwen","followers_url":"https://api.github.com/users/StephanEwen/followers","following_url":"https://api.github.com/users/StephanEwen/following{/other_user}","gists_url":"https://api.github.com/users/StephanEwen/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanEwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanEwen/subscriptions","organizations_url":"https://api.github.com/users/StephanEwen/orgs","repos_url":"https://api.github.com/users/StephanEwen/repos","events_url":"https://api.github.com/users/StephanEwen/events{/privacy}","received_events_url":"https://api.github.com/users/StephanEwen/received_events","type":"User","site_admin":false},"body":"This allows users to specify how programs should be executed:\r\n  - PIPELINED: Uses pipelining for shuffling, except where the data exchange is deadlock prone.\r\n  - BATCH: Used batch for shuffles, broadcasts, rebalancing.\r\n  - BATCH_FORCED: Uses batch everywhere, effectively prohibits chaining (debug only, IMHO)\r\n  - PIPELINED_FORCED: Uses pipelining everywhere, also in deadlock prone situations.\r\n\r\nI fixed and improved a lot of comments on-the-fly while implementing this. Because of that, the PR is slightly bigger.\r\n\r\nNOTE: This is only the API, and optimizer implementation of selecting the proper data exchange mode. The runtime implementation of blocking data exchange is a separate pull request.","created_at":"2015-03-16T17:17:22Z","updated_at":"2015-03-17T09:16:42Z","closed_at":"2015-03-17T09:16:42Z","merged_at":null,"merge_commit_sha":"6e3ed726130c0e7eabf81d9817f22c4bec9e2100","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/487/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/487/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/487/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/6784fea0af247536577d2de3c4d4dad02bc775de","head":{"label":"StephanEwen:modes","ref":"modes","sha":"6784fea0af247536577d2de3c4d4dad02bc775de","user":{"login":"StephanEwen","id":1727146,"avatar_url":"https://avatars.githubusercontent.com/u/1727146?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanEwen","html_url":"https://github.com/StephanEwen","followers_url":"https://api.github.com/users/StephanEwen/followers","following_url":"https://api.github.com/users/StephanEwen/following{/other_user}","gists_url":"https://api.github.com/users/StephanEwen/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanEwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanEwen/subscriptions","organizations_url":"https://api.github.com/users/StephanEwen/orgs","repos_url":"https://api.github.com/users/StephanEwen/repos","events_url":"https://api.github.com/users/StephanEwen/events{/privacy}","received_events_url":"https://api.github.com/users/StephanEwen/received_events","type":"User","site_admin":false},"repo":{"id":21171031,"name":"incubator-flink","full_name":"StephanEwen/incubator-flink","owner":{"login":"StephanEwen","id":1727146,"avatar_url":"https://avatars.githubusercontent.com/u/1727146?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanEwen","html_url":"https://github.com/StephanEwen","followers_url":"https://api.github.com/users/StephanEwen/followers","following_url":"https://api.github.com/users/StephanEwen/following{/other_user}","gists_url":"https://api.github.com/users/StephanEwen/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanEwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanEwen/subscriptions","organizations_url":"https://api.github.com/users/StephanEwen/orgs","repos_url":"https://api.github.com/users/StephanEwen/repos","events_url":"https://api.github.com/users/StephanEwen/events{/privacy}","received_events_url":"https://api.github.com/users/StephanEwen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StephanEwen/incubator-flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/StephanEwen/incubator-flink","forks_url":"https://api.github.com/repos/StephanEwen/incubator-flink/forks","keys_url":"https://api.github.com/repos/StephanEwen/incubator-flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StephanEwen/incubator-flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StephanEwen/incubator-flink/teams","hooks_url":"https://api.github.com/repos/StephanEwen/incubator-flink/hooks","issue_events_url":"https://api.github.com/repos/StephanEwen/incubator-flink/issues/events{/number}","events_url":"https://api.github.com/repos/StephanEwen/incubator-flink/events","assignees_url":"https://api.github.com/repos/StephanEwen/incubator-flink/assignees{/user}","branches_url":"https://api.github.com/repos/StephanEwen/incubator-flink/branches{/branch}","tags_url":"https://api.github.com/repos/StephanEwen/incubator-flink/tags","blobs_url":"https://api.github.com/repos/StephanEwen/incubator-flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StephanEwen/incubator-flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StephanEwen/incubator-flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/StephanEwen/incubator-flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StephanEwen/incubator-flink/statuses/{sha}","languages_url":"https://api.github.com/repos/StephanEwen/incubator-flink/languages","stargazers_url":"https://api.github.com/repos/StephanEwen/incubator-flink/stargazers","contributors_url":"https://api.github.com/repos/StephanEwen/incubator-flink/contributors","subscribers_url":"https://api.github.com/repos/StephanEwen/incubator-flink/subscribers","subscription_url":"https://api.github.com/repos/StephanEwen/incubator-flink/subscription","commits_url":"https://api.github.com/repos/StephanEwen/incubator-flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/StephanEwen/incubator-flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/StephanEwen/incubator-flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/StephanEwen/incubator-flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/StephanEwen/incubator-flink/contents/{+path}","compare_url":"https://api.github.com/repos/StephanEwen/incubator-flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StephanEwen/incubator-flink/merges","archive_url":"https://api.github.com/repos/StephanEwen/incubator-flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StephanEwen/incubator-flink/downloads","issues_url":"https://api.github.com/repos/StephanEwen/incubator-flink/issues{/number}","pulls_url":"https://api.github.com/repos/StephanEwen/incubator-flink/pulls{/number}","milestones_url":"https://api.github.com/repos/StephanEwen/incubator-flink/milestones{/number}","notifications_url":"https://api.github.com/repos/StephanEwen/incubator-flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StephanEwen/incubator-flink/labels{/name}","releases_url":"https://api.github.com/repos/StephanEwen/incubator-flink/releases{/id}","created_at":"2014-06-24T15:57:00Z","updated_at":"2015-03-17T09:16:04Z","pushed_at":"2015-03-17T09:16:04Z","git_url":"git://github.com/StephanEwen/incubator-flink.git","ssh_url":"git@github.com:StephanEwen/incubator-flink.git","clone_url":"https://github.com/StephanEwen/incubator-flink.git","svn_url":"https://github.com/StephanEwen/incubator-flink","homepage":null,"size":44241,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"36b762e433e666bedfa06e06638b36dff8ec2d7a","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}","created_at":"2014-06-07T07:00:10Z","updated_at":"2015-03-17T09:16:39Z","pushed_at":"2015-03-17T09:16:38Z","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":2679402,"stargazers_count":321,"watchers_count":321,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":185,"mirror_url":"git://git.apache.org/incubator-flink.git","open_issues_count":43,"forks":185,"open_issues":43,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/487"},"html":{"href":"https://github.com/apache/flink/pull/487"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/487"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/487/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/487/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/487/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/6784fea0af247536577d2de3c4d4dad02bc775de"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":2257,"deletions":882,"changed_files":108}}