{"action":"created","issue":{"url":"https://api.github.com/repos/apache/flink/issues/488","labels_url":"https://api.github.com/repos/apache/flink/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/apache/flink/issues/488/comments","events_url":"https://api.github.com/repos/apache/flink/issues/488/events","html_url":"https://github.com/apache/flink/pull/488","id":62155548,"number":488,"title":"[FLINK-1679] rename degree of parallelism to parallelism & extend documentation about parallelism","user":{"login":"mxm","id":837221,"avatar_url":"https://avatars.githubusercontent.com/u/837221?v=3","gravatar_id":"","url":"https://api.github.com/users/mxm","html_url":"https://github.com/mxm","followers_url":"https://api.github.com/users/mxm/followers","following_url":"https://api.github.com/users/mxm/following{/other_user}","gists_url":"https://api.github.com/users/mxm/gists{/gist_id}","starred_url":"https://api.github.com/users/mxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxm/subscriptions","organizations_url":"https://api.github.com/users/mxm/orgs","repos_url":"https://api.github.com/users/mxm/repos","events_url":"https://api.github.com/users/mxm/events{/privacy}","received_events_url":"https://api.github.com/users/mxm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-16T17:29:40Z","updated_at":"2015-03-19T09:14:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/488","html_url":"https://github.com/apache/flink/pull/488","diff_url":"https://github.com/apache/flink/pull/488.diff","patch_url":"https://github.com/apache/flink/pull/488.patch"},"body":"https://issues.apache.org/jira/browse/FLINK-1679"},"comment":{"url":"https://api.github.com/repos/apache/flink/issues/comments/83433378","html_url":"https://github.com/apache/flink/pull/488#issuecomment-83433378","issue_url":"https://api.github.com/repos/apache/flink/issues/488","id":83433378,"user":{"login":"mxm","id":837221,"avatar_url":"https://avatars.githubusercontent.com/u/837221?v=3","gravatar_id":"","url":"https://api.github.com/users/mxm","html_url":"https://github.com/mxm","followers_url":"https://api.github.com/users/mxm/followers","following_url":"https://api.github.com/users/mxm/following{/other_user}","gists_url":"https://api.github.com/users/mxm/gists{/gist_id}","starred_url":"https://api.github.com/users/mxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxm/subscriptions","organizations_url":"https://api.github.com/users/mxm/orgs","repos_url":"https://api.github.com/users/mxm/repos","events_url":"https://api.github.com/users/mxm/events{/privacy}","received_events_url":"https://api.github.com/users/mxm/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T09:14:39Z","updated_at":"2015-03-19T09:14:39Z","body":"Let me explain how I made out the relevant API facing methods to deprecate. Since I changed all calls to set the parallelism to `getParallelism` or `setParallelism` I did not have to change classes which already used these methods. To find the remaining which used `setDegreeOfParalleism` or `getDegreeOfParalleism` method, I did a regexp search in the Java and Scala classes: \r\n\r\nJava: `public .* (get|set)DegreeOfParallelism`\r\n\r\n`ExecutionConfig`\r\n`Operator`\r\n`CollectionEnvironment`\r\n`ExecutionEnvironment`\r\n`StreamExecutionEnvironment`\r\n`SpargelIteration`\r\n\r\nScala: `def (get|set)DegreeOfParallelism`\r\n\r\n`ExecutionEnvironment`\r\n`StreamExecutionEnvironment`\r\n\r\nIn these classes I deprecated the methods, and made them call the new methods `getParallelism` and `setParallelism`. That's how I verified this pull request is not API breaking. For you inspection, I've created a separate commit with these changes. The deprecated methods are also covered in the documentation about how to change the parallelism: http://ci.apache.org/projects/flink/flink-docs-master/programming_guide.html#parallel-execution\r\n"}}