{"action":"created","comment":{"url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/comments/194745848","pull_request_review_id":127973931,"id":194745848,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDc0NTg0OA==","diff_hunk":"@@ -52,8 +52,9 @@ public void accept(Event<CollectDownscaleCandidatesRequest> event) {\n                 List<InstanceMetaData> notDeletedNodes = instanceMetaDataList.stream()\n                         .filter(instanceMetaData -> !instanceMetaData.isTerminated() && !instanceMetaData.isDeletedOnProvider())\n                         .collect(Collectors.toList());\n-\n-                ambariDecommissioner.verifyNodesAreRemovable(stack, notDeletedNodes);\n+                if (!request.getDetails().isForced()) {","path":"core/src/main/java/com/sequenceiq/cloudbreak/reactor/CollectDownscaleCandidatesHandler.java","position":6,"original_position":6,"commit_id":"542e4a0007035a127a874221eac033a1a8cb850d","original_commit_id":"542e4a0007035a127a874221eac033a1a8cb850d","user":{"login":"lnardai","id":3493960,"node_id":"MDQ6VXNlcjM0OTM5NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3493960?v=4","gravatar_id":"","url":"https://api.github.com/users/lnardai","html_url":"https://github.com/lnardai","followers_url":"https://api.github.com/users/lnardai/followers","following_url":"https://api.github.com/users/lnardai/following{/other_user}","gists_url":"https://api.github.com/users/lnardai/gists{/gist_id}","starred_url":"https://api.github.com/users/lnardai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnardai/subscriptions","organizations_url":"https://api.github.com/users/lnardai/orgs","repos_url":"https://api.github.com/users/lnardai/repos","events_url":"https://api.github.com/users/lnardai/events{/privacy}","received_events_url":"https://api.github.com/users/lnardai/received_events","type":"User","site_admin":false},"body":"Ambari will not finish decomission of nodes, if it violates replication rules. Should be refactored to STACK_DOWNSCALE.","created_at":"2018-06-12T13:52:57Z","updated_at":"2018-06-12T13:52:58Z","html_url":"https://github.com/hortonworks/cloudbreak/pull/3580#discussion_r194745848","pull_request_url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/comments/194745848"},"html":{"href":"https://github.com/hortonworks/cloudbreak/pull/3580#discussion_r194745848"},"pull_request":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580"}}},"pull_request":{"url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580","id":194269797,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MjY5Nzk3","html_url":"https://github.com/hortonworks/cloudbreak/pull/3580","diff_url":"https://github.com/hortonworks/cloudbreak/pull/3580.diff","patch_url":"https://github.com/hortonworks/cloudbreak/pull/3580.patch","issue_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues/3580","number":3580,"state":"open","locked":false,"title":"BUG-104948 Added forced option to instance termination.","user":{"login":"lnardai","id":3493960,"node_id":"MDQ6VXNlcjM0OTM5NjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3493960?v=4","gravatar_id":"","url":"https://api.github.com/users/lnardai","html_url":"https://github.com/lnardai","followers_url":"https://api.github.com/users/lnardai/followers","following_url":"https://api.github.com/users/lnardai/following{/other_user}","gists_url":"https://api.github.com/users/lnardai/gists{/gist_id}","starred_url":"https://api.github.com/users/lnardai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnardai/subscriptions","organizations_url":"https://api.github.com/users/lnardai/orgs","repos_url":"https://api.github.com/users/lnardai/repos","events_url":"https://api.github.com/users/lnardai/events{/privacy}","received_events_url":"https://api.github.com/users/lnardai/received_events","type":"User","site_admin":false},"body":"- Added option to forcefully terminate an instance. (Skip ambari check)\r\n- Added custom \"forcefully terminated message\" to events.\r\n- Added unit integration test for flow.\r\n\r\nInitial idea was to use a custom state for forcefully terminating an instance, but got pretty complicated pretty soon, so that's why I used the additional ClusterDownScale details.","created_at":"2018-06-12T12:53:11Z","updated_at":"2018-06-12T13:52:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5815dd955b57de097a045ea822b1e77e3bff004","assignee":null,"assignees":[],"requested_reviewers":[{"login":"akanto","id":2838000,"node_id":"MDQ6VXNlcjI4MzgwMDA=","avatar_url":"https://avatars2.githubusercontent.com/u/2838000?v=4","gravatar_id":"","url":"https://api.github.com/users/akanto","html_url":"https://github.com/akanto","followers_url":"https://api.github.com/users/akanto/followers","following_url":"https://api.github.com/users/akanto/following{/other_user}","gists_url":"https://api.github.com/users/akanto/gists{/gist_id}","starred_url":"https://api.github.com/users/akanto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akanto/subscriptions","organizations_url":"https://api.github.com/users/akanto/orgs","repos_url":"https://api.github.com/users/akanto/repos","events_url":"https://api.github.com/users/akanto/events{/privacy}","received_events_url":"https://api.github.com/users/akanto/received_events","type":"User","site_admin":false},{"login":"schfeca75","id":4092731,"node_id":"MDQ6VXNlcjQwOTI3MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/4092731?v=4","gravatar_id":"","url":"https://api.github.com/users/schfeca75","html_url":"https://github.com/schfeca75","followers_url":"https://api.github.com/users/schfeca75/followers","following_url":"https://api.github.com/users/schfeca75/following{/other_user}","gists_url":"https://api.github.com/users/schfeca75/gists{/gist_id}","starred_url":"https://api.github.com/users/schfeca75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schfeca75/subscriptions","organizations_url":"https://api.github.com/users/schfeca75/orgs","repos_url":"https://api.github.com/users/schfeca75/repos","events_url":"https://api.github.com/users/schfeca75/events{/privacy}","received_events_url":"https://api.github.com/users/schfeca75/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580/commits","review_comments_url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580/comments","review_comment_url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues/3580/comments","statuses_url":"https://api.github.com/repos/hortonworks/cloudbreak/statuses/542e4a0007035a127a874221eac033a1a8cb850d","head":{"label":"hortonworks:force-terminate-instance","ref":"force-terminate-instance","sha":"542e4a0007035a127a874221eac033a1a8cb850d","user":{"login":"hortonworks","id":898785,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5ODc4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/898785?v=4","gravatar_id":"","url":"https://api.github.com/users/hortonworks","html_url":"https://github.com/hortonworks","followers_url":"https://api.github.com/users/hortonworks/followers","following_url":"https://api.github.com/users/hortonworks/following{/other_user}","gists_url":"https://api.github.com/users/hortonworks/gists{/gist_id}","starred_url":"https://api.github.com/users/hortonworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hortonworks/subscriptions","organizations_url":"https://api.github.com/users/hortonworks/orgs","repos_url":"https://api.github.com/users/hortonworks/repos","events_url":"https://api.github.com/users/hortonworks/events{/privacy}","received_events_url":"https://api.github.com/users/hortonworks/received_events","type":"Organization","site_admin":false},"repo":{"id":19638422,"node_id":"MDEwOlJlcG9zaXRvcnkxOTYzODQyMg==","name":"cloudbreak","full_name":"hortonworks/cloudbreak","owner":{"login":"hortonworks","id":898785,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5ODc4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/898785?v=4","gravatar_id":"","url":"https://api.github.com/users/hortonworks","html_url":"https://github.com/hortonworks","followers_url":"https://api.github.com/users/hortonworks/followers","following_url":"https://api.github.com/users/hortonworks/following{/other_user}","gists_url":"https://api.github.com/users/hortonworks/gists{/gist_id}","starred_url":"https://api.github.com/users/hortonworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hortonworks/subscriptions","organizations_url":"https://api.github.com/users/hortonworks/orgs","repos_url":"https://api.github.com/users/hortonworks/repos","events_url":"https://api.github.com/users/hortonworks/events{/privacy}","received_events_url":"https://api.github.com/users/hortonworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hortonworks/cloudbreak","description":"A tool for provisioning and managing Apache Hadoop clusters in the cloud. Cloudbreak, as part of the Hortonworks Data Platform, makes it easy to provision, configure and elastically grow HDP clusters on cloud infrastructure. Cloudbreak can be used to provision Hadoop across cloud infrastructure providers including AWS, Azure, GCP and OpenStack.","fork":false,"url":"https://api.github.com/repos/hortonworks/cloudbreak","forks_url":"https://api.github.com/repos/hortonworks/cloudbreak/forks","keys_url":"https://api.github.com/repos/hortonworks/cloudbreak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hortonworks/cloudbreak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hortonworks/cloudbreak/teams","hooks_url":"https://api.github.com/repos/hortonworks/cloudbreak/hooks","issue_events_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues/events{/number}","events_url":"https://api.github.com/repos/hortonworks/cloudbreak/events","assignees_url":"https://api.github.com/repos/hortonworks/cloudbreak/assignees{/user}","branches_url":"https://api.github.com/repos/hortonworks/cloudbreak/branches{/branch}","tags_url":"https://api.github.com/repos/hortonworks/cloudbreak/tags","blobs_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/refs{/sha}","trees_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hortonworks/cloudbreak/statuses/{sha}","languages_url":"https://api.github.com/repos/hortonworks/cloudbreak/languages","stargazers_url":"https://api.github.com/repos/hortonworks/cloudbreak/stargazers","contributors_url":"https://api.github.com/repos/hortonworks/cloudbreak/contributors","subscribers_url":"https://api.github.com/repos/hortonworks/cloudbreak/subscribers","subscription_url":"https://api.github.com/repos/hortonworks/cloudbreak/subscription","commits_url":"https://api.github.com/repos/hortonworks/cloudbreak/commits{/sha}","git_commits_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/commits{/sha}","comments_url":"https://api.github.com/repos/hortonworks/cloudbreak/comments{/number}","issue_comment_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues/comments{/number}","contents_url":"https://api.github.com/repos/hortonworks/cloudbreak/contents/{+path}","compare_url":"https://api.github.com/repos/hortonworks/cloudbreak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hortonworks/cloudbreak/merges","archive_url":"https://api.github.com/repos/hortonworks/cloudbreak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hortonworks/cloudbreak/downloads","issues_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues{/number}","pulls_url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls{/number}","milestones_url":"https://api.github.com/repos/hortonworks/cloudbreak/milestones{/number}","notifications_url":"https://api.github.com/repos/hortonworks/cloudbreak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hortonworks/cloudbreak/labels{/name}","releases_url":"https://api.github.com/repos/hortonworks/cloudbreak/releases{/id}","deployments_url":"https://api.github.com/repos/hortonworks/cloudbreak/deployments","created_at":"2014-05-10T10:03:07Z","updated_at":"2018-06-12T11:36:41Z","pushed_at":"2018-06-12T13:29:13Z","git_url":"git://github.com/hortonworks/cloudbreak.git","ssh_url":"git@github.com:hortonworks/cloudbreak.git","clone_url":"https://github.com/hortonworks/cloudbreak.git","svn_url":"https://github.com/hortonworks/cloudbreak","homepage":"http://hortonworks.github.io/cloudbreak-docs","size":41320,"stargazers_count":202,"watchers_count":202,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":88,"mirror_url":null,"archived":false,"open_issues_count":11,"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":88,"open_issues":11,"watchers":202,"default_branch":"master"}},"base":{"label":"hortonworks:rc-2.4","ref":"rc-2.4","sha":"ef70312f402ab203ca3624bda07c68a21db7f660","user":{"login":"hortonworks","id":898785,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5ODc4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/898785?v=4","gravatar_id":"","url":"https://api.github.com/users/hortonworks","html_url":"https://github.com/hortonworks","followers_url":"https://api.github.com/users/hortonworks/followers","following_url":"https://api.github.com/users/hortonworks/following{/other_user}","gists_url":"https://api.github.com/users/hortonworks/gists{/gist_id}","starred_url":"https://api.github.com/users/hortonworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hortonworks/subscriptions","organizations_url":"https://api.github.com/users/hortonworks/orgs","repos_url":"https://api.github.com/users/hortonworks/repos","events_url":"https://api.github.com/users/hortonworks/events{/privacy}","received_events_url":"https://api.github.com/users/hortonworks/received_events","type":"Organization","site_admin":false},"repo":{"id":19638422,"node_id":"MDEwOlJlcG9zaXRvcnkxOTYzODQyMg==","name":"cloudbreak","full_name":"hortonworks/cloudbreak","owner":{"login":"hortonworks","id":898785,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5ODc4NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/898785?v=4","gravatar_id":"","url":"https://api.github.com/users/hortonworks","html_url":"https://github.com/hortonworks","followers_url":"https://api.github.com/users/hortonworks/followers","following_url":"https://api.github.com/users/hortonworks/following{/other_user}","gists_url":"https://api.github.com/users/hortonworks/gists{/gist_id}","starred_url":"https://api.github.com/users/hortonworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hortonworks/subscriptions","organizations_url":"https://api.github.com/users/hortonworks/orgs","repos_url":"https://api.github.com/users/hortonworks/repos","events_url":"https://api.github.com/users/hortonworks/events{/privacy}","received_events_url":"https://api.github.com/users/hortonworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hortonworks/cloudbreak","description":"A tool for provisioning and managing Apache Hadoop clusters in the cloud. Cloudbreak, as part of the Hortonworks Data Platform, makes it easy to provision, configure and elastically grow HDP clusters on cloud infrastructure. Cloudbreak can be used to provision Hadoop across cloud infrastructure providers including AWS, Azure, GCP and OpenStack.","fork":false,"url":"https://api.github.com/repos/hortonworks/cloudbreak","forks_url":"https://api.github.com/repos/hortonworks/cloudbreak/forks","keys_url":"https://api.github.com/repos/hortonworks/cloudbreak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hortonworks/cloudbreak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hortonworks/cloudbreak/teams","hooks_url":"https://api.github.com/repos/hortonworks/cloudbreak/hooks","issue_events_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues/events{/number}","events_url":"https://api.github.com/repos/hortonworks/cloudbreak/events","assignees_url":"https://api.github.com/repos/hortonworks/cloudbreak/assignees{/user}","branches_url":"https://api.github.com/repos/hortonworks/cloudbreak/branches{/branch}","tags_url":"https://api.github.com/repos/hortonworks/cloudbreak/tags","blobs_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/refs{/sha}","trees_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hortonworks/cloudbreak/statuses/{sha}","languages_url":"https://api.github.com/repos/hortonworks/cloudbreak/languages","stargazers_url":"https://api.github.com/repos/hortonworks/cloudbreak/stargazers","contributors_url":"https://api.github.com/repos/hortonworks/cloudbreak/contributors","subscribers_url":"https://api.github.com/repos/hortonworks/cloudbreak/subscribers","subscription_url":"https://api.github.com/repos/hortonworks/cloudbreak/subscription","commits_url":"https://api.github.com/repos/hortonworks/cloudbreak/commits{/sha}","git_commits_url":"https://api.github.com/repos/hortonworks/cloudbreak/git/commits{/sha}","comments_url":"https://api.github.com/repos/hortonworks/cloudbreak/comments{/number}","issue_comment_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues/comments{/number}","contents_url":"https://api.github.com/repos/hortonworks/cloudbreak/contents/{+path}","compare_url":"https://api.github.com/repos/hortonworks/cloudbreak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hortonworks/cloudbreak/merges","archive_url":"https://api.github.com/repos/hortonworks/cloudbreak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hortonworks/cloudbreak/downloads","issues_url":"https://api.github.com/repos/hortonworks/cloudbreak/issues{/number}","pulls_url":"https://api.github.com/repos/hortonworks/cloudbreak/pulls{/number}","milestones_url":"https://api.github.com/repos/hortonworks/cloudbreak/milestones{/number}","notifications_url":"https://api.github.com/repos/hortonworks/cloudbreak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hortonworks/cloudbreak/labels{/name}","releases_url":"https://api.github.com/repos/hortonworks/cloudbreak/releases{/id}","deployments_url":"https://api.github.com/repos/hortonworks/cloudbreak/deployments","created_at":"2014-05-10T10:03:07Z","updated_at":"2018-06-12T11:36:41Z","pushed_at":"2018-06-12T13:29:13Z","git_url":"git://github.com/hortonworks/cloudbreak.git","ssh_url":"git@github.com:hortonworks/cloudbreak.git","clone_url":"https://github.com/hortonworks/cloudbreak.git","svn_url":"https://github.com/hortonworks/cloudbreak","homepage":"http://hortonworks.github.io/cloudbreak-docs","size":41320,"stargazers_count":202,"watchers_count":202,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":88,"mirror_url":null,"archived":false,"open_issues_count":11,"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":88,"open_issues":11,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580"},"html":{"href":"https://github.com/hortonworks/cloudbreak/pull/3580"},"issue":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/issues/3580"},"comments":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/issues/3580/comments"},"review_comments":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580/comments"},"review_comment":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/pulls/3580/commits"},"statuses":{"href":"https://api.github.com/repos/hortonworks/cloudbreak/statuses/542e4a0007035a127a874221eac033a1a8cb850d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"lnardai"}}