payload: {"action":"created","comment":{"url":"https://api.github.com/repos/apache/hadoop-ozone/pulls/comments/337865795","pull_request_review_id":305653420,"id":337865795,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzNzg2NTc5NQ==","diff_hunk":"@@ -352,6 +353,16 @@ public Builder setNumDatanodes(int val) {\n       return this;\n     }\n \n+    /**\n+     * Sets the total number of pipelines to create.\n+     * @param val number of pipelines\n+     * @return MiniOzoneCluster.Builder\n+     */\n+    public Builder setPipelineNumLimit(int val) {","path":"hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneCluster.java","position":17,"original_position":17,"commit_id":"dffbd1bc49ad4e3246fd0bbd286991cb0f5454c2","original_commit_id":"dffbd1bc49ad4e3246fd0bbd286991cb0f5454c2","user":{"login":"xiaoyuyao","id":7039184,"node_id":"MDQ6VXNlcjcwMzkxODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/7039184?v=4","gravatar_id":"","url":"https://api.github.com/users/xiaoyuyao","html_url":"https://github.com/xiaoyuyao","followers_url":"https://api.github.com/users/xiaoyuyao/followers","following_url":"https://api.github.com/users/xiaoyuyao/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyuyao/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyuyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyuyao/subscriptions","organizations_url":"https://api.github.com/users/xiaoyuyao/orgs","repos_url":"https://api.github.com/users/xiaoyuyao/repos","events_url":"https://api.github.com/users/xiaoyuyao/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyuyao/received_events","type":"User","site_admin":false},"body":"NIT: rename to setTotalPipelineNumLimit","created_at":"2019-10-23T06:17:58Z","updated_at":"2019-10-23T06:17:58Z","html_url":"https://github.com/apache/hadoop-ozone/pull/28#discussion_r337865795","pull_request_url":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apache/hadoop-ozone/pulls/comments/337865795"},"html":{"href":"https://github.com/apache/hadoop-ozone/pull/28#discussion_r337865795"},"pull_request":{"href":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28","id":328121773,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI4MTIxNzcz","html_url":"https://github.com/apache/hadoop-ozone/pull/28","diff_url":"https://github.com/apache/hadoop-ozone/pull/28.diff","patch_url":"https://github.com/apache/hadoop-ozone/pull/28.patch","issue_url":"https://api.github.com/repos/apache/hadoop-ozone/issues/28","number":28,"state":"open","locked":false,"title":"HDDS-1569 Support creating multiple pipelines with same datanode","user":{"login":"timmylicheng","id":5977937,"node_id":"MDQ6VXNlcjU5Nzc5Mzc=","avatar_url":"https://avatars2.githubusercontent.com/u/5977937?v=4","gravatar_id":"","url":"https://api.github.com/users/timmylicheng","html_url":"https://github.com/timmylicheng","followers_url":"https://api.github.com/users/timmylicheng/followers","following_url":"https://api.github.com/users/timmylicheng/following{/other_user}","gists_url":"https://api.github.com/users/timmylicheng/gists{/gist_id}","starred_url":"https://api.github.com/users/timmylicheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmylicheng/subscriptions","organizations_url":"https://api.github.com/users/timmylicheng/orgs","repos_url":"https://api.github.com/users/timmylicheng/repos","events_url":"https://api.github.com/users/timmylicheng/events{/privacy}","received_events_url":"https://api.github.com/users/timmylicheng/received_events","type":"User","site_admin":false},"body":"## NOTICE\r\nhttps://issues.apache.org/jira/browse/HDDS-1569\r\nrelated PR: https://github.com/apache/hadoop/pull/1431\r\n\r\nChanges:\r\n1. Use PipelinePlacementPolicy as default for Factor THREE Ratis pipeline.\r\n2. Handle differently in some parts for Factor ONE and Factor THREE pipeline.\r\n3. Add limits for pipeline creation.\r\n4. Adjust a bunch of unit tests accordingly.\r\n","created_at":"2019-10-15T07:33:48Z","updated_at":"2019-10-23T06:17:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fbd5b6bc5f11b833a1203f71025f89ab97e2fdda","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28/commits","review_comments_url":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28/comments","review_comment_url":"https://api.github.com/repos/apache/hadoop-ozone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/hadoop-ozone/issues/28/comments","statuses_url":"https://api.github.com/repos/apache/hadoop-ozone/statuses/dffbd1bc49ad4e3246fd0bbd286991cb0f5454c2","head":{"label":"timmylicheng:HDDS-1569","ref":"HDDS-1569","sha":"dffbd1bc49ad4e3246fd0bbd286991cb0f5454c2","user":{"login":"timmylicheng","id":5977937,"node_id":"MDQ6VXNlcjU5Nzc5Mzc=","avatar_url":"https://avatars2.githubusercontent.com/u/5977937?v=4","gravatar_id":"","url":"https://api.github.com/users/timmylicheng","html_url":"https://github.com/timmylicheng","followers_url":"https://api.github.com/users/timmylicheng/followers","following_url":"https://api.github.com/users/timmylicheng/following{/other_user}","gists_url":"https://api.github.com/users/timmylicheng/gists{/gist_id}","starred_url":"https://api.github.com/users/timmylicheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmylicheng/subscriptions","organizations_url":"https://api.github.com/users/timmylicheng/orgs","repos_url":"https://api.github.com/users/timmylicheng/repos","events_url":"https://api.github.com/users/timmylicheng/events{/privacy}","received_events_url":"https://api.github.com/users/timmylicheng/received_events","type":"User","site_admin":false},"repo":{"id":214929843,"node_id":"MDEwOlJlcG9zaXRvcnkyMTQ5Mjk4NDM=","name":"hadoop-ozone","full_name":"timmylicheng/hadoop-ozone","private":false,"owner":{"login":"timmylicheng","id":5977937,"node_id":"MDQ6VXNlcjU5Nzc5Mzc=","avatar_url":"https://avatars2.githubusercontent.com/u/5977937?v=4","gravatar_id":"","url":"https://api.github.com/users/timmylicheng","html_url":"https://github.com/timmylicheng","followers_url":"https://api.github.com/users/timmylicheng/followers","following_url":"https://api.github.com/users/timmylicheng/following{/other_user}","gists_url":"https://api.github.com/users/timmylicheng/gists{/gist_id}","starred_url":"https://api.github.com/users/timmylicheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmylicheng/subscriptions","organizations_url":"https://api.github.com/users/timmylicheng/orgs","repos_url":"https://api.github.com/users/timmylicheng/repos","events_url":"https://api.github.com/users/timmylicheng/events{/privacy}","received_events_url":"https://api.github.com/users/timmylicheng/received_events","type":"User","site_admin":false},"html_url":"https://github.com/timmylicheng/hadoop-ozone","description":"Apache Hadoop Ozone","fork":true,"url":"https://api.github.com/repos/timmylicheng/hadoop-ozone","forks_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/forks","keys_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/teams","hooks_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/hooks","issue_events_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/issues/events{/number}","events_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/events","assignees_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/assignees{/user}","branches_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/branches{/branch}","tags_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/tags","blobs_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/git/refs{/sha}","trees_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/statuses/{sha}","languages_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/languages","stargazers_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/stargazers","contributors_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/contributors","subscribers_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/subscribers","subscription_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/subscription","commits_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/commits{/sha}","git_commits_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/git/commits{/sha}","comments_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/comments{/number}","issue_comment_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/issues/comments{/number}","contents_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/contents/{+path}","compare_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/merges","archive_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/downloads","issues_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/issues{/number}","pulls_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/pulls{/number}","milestones_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/milestones{/number}","notifications_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/labels{/name}","releases_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/releases{/id}","deployments_url":"https://api.github.com/repos/timmylicheng/hadoop-ozone/deployments","created_at":"2019-10-14T02:23:01Z","updated_at":"2019-10-14T11:59:56Z","pushed_at":"2019-10-22T12:07:52Z","git_url":"git://github.com/timmylicheng/hadoop-ozone.git","ssh_url":"git@github.com:timmylicheng/hadoop-ozone.git","clone_url":"https://github.com/timmylicheng/hadoop-ozone.git","svn_url":"https://github.com/timmylicheng/hadoop-ozone","homepage":"https://hadoop.apache.org/","size":14511,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:HDDS-1564","ref":"HDDS-1564","sha":"764fac5344908c084d9479c3750dab7a6d2724ad","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":212382406,"node_id":"MDEwOlJlcG9zaXRvcnkyMTIzODI0MDY=","name":"hadoop-ozone","full_name":"apache/hadoop-ozone","private":false,"owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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},"html_url":"https://github.com/apache/hadoop-ozone","description":"Apache Hadoop Ozone","fork":false,"url":"https://api.github.com/repos/apache/hadoop-ozone","forks_url":"https://api.github.com/repos/apache/hadoop-ozone/forks","keys_url":"https://api.github.com/repos/apache/hadoop-ozone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/hadoop-ozone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/hadoop-ozone/teams","hooks_url":"https://api.github.com/repos/apache/hadoop-ozone/hooks","issue_events_url":"https://api.github.com/repos/apache/hadoop-ozone/issues/events{/number}","events_url":"https://api.github.com/repos/apache/hadoop-ozone/events","assignees_url":"https://api.github.com/repos/apache/hadoop-ozone/assignees{/user}","branches_url":"https://api.github.com/repos/apache/hadoop-ozone/branches{/branch}","tags_url":"https://api.github.com/repos/apache/hadoop-ozone/tags","blobs_url":"https://api.github.com/repos/apache/hadoop-ozone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/hadoop-ozone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/hadoop-ozone/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/hadoop-ozone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/hadoop-ozone/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/hadoop-ozone/languages","stargazers_url":"https://api.github.com/repos/apache/hadoop-ozone/stargazers","contributors_url":"https://api.github.com/repos/apache/hadoop-ozone/contributors","subscribers_url":"https://api.github.com/repos/apache/hadoop-ozone/subscribers","subscription_url":"https://api.github.com/repos/apache/hadoop-ozone/subscription","commits_url":"https://api.github.com/repos/apache/hadoop-ozone/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/hadoop-ozone/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/hadoop-ozone/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/hadoop-ozone/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/hadoop-ozone/contents/{+path}","compare_url":"https://api.github.com/repos/apache/hadoop-ozone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/hadoop-ozone/merges","archive_url":"https://api.github.com/repos/apache/hadoop-ozone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/hadoop-ozone/downloads","issues_url":"https://api.github.com/repos/apache/hadoop-ozone/issues{/number}","pulls_url":"https://api.github.com/repos/apache/hadoop-ozone/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/hadoop-ozone/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/hadoop-ozone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/hadoop-ozone/labels{/name}","releases_url":"https://api.github.com/repos/apache/hadoop-ozone/releases{/id}","deployments_url":"https://api.github.com/repos/apache/hadoop-ozone/deployments","created_at":"2019-10-02T15:56:19Z","updated_at":"2019-10-23T00:27:48Z","pushed_at":"2019-10-23T05:58:39Z","git_url":"git://github.com/apache/hadoop-ozone.git","ssh_url":"git@github.com:apache/hadoop-ozone.git","clone_url":"https://github.com/apache/hadoop-ozone.git","svn_url":"https://github.com/apache/hadoop-ozone","homepage":"https://hadoop.apache.org/","size":14587,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":21,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":25,"open_issues":21,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28"},"html":{"href":"https://github.com/apache/hadoop-ozone/pull/28"},"issue":{"href":"https://api.github.com/repos/apache/hadoop-ozone/issues/28"},"comments":{"href":"https://api.github.com/repos/apache/hadoop-ozone/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/hadoop-ozone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/hadoop-ozone/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/apache/hadoop-ozone/statuses/dffbd1bc49ad4e3246fd0bbd286991cb0f5454c2"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"xiaoyuyao"}}