{"action":"created","issue":{"url":"https://api.github.com/repos/sequenceiq/cloudbreak/issues/757","labels_url":"https://api.github.com/repos/sequenceiq/cloudbreak/issues/757/labels{/name}","comments_url":"https://api.github.com/repos/sequenceiq/cloudbreak/issues/757/comments","events_url":"https://api.github.com/repos/sequenceiq/cloudbreak/issues/757/events","html_url":"https://github.com/sequenceiq/cloudbreak/pull/757","id":90674088,"number":757,"title":"CLOUD-868: Using AmbariClusterStatusUpdater for cluster status sync.","user":{"login":"schfeca75","id":4092731,"avatar_url":"https://avatars.githubusercontent.com/u/4092731?v=3","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-24T13:22:50Z","updated_at":"2015-06-24T13:24:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sequenceiq/cloudbreak/pulls/757","html_url":"https://github.com/sequenceiq/cloudbreak/pull/757","diff_url":"https://github.com/sequenceiq/cloudbreak/pull/757.diff","patch_url":"https://github.com/sequenceiq/cloudbreak/pull/757.patch"},"body":"* Remove scheduled status updater\r\n* Cloudbreak won't thow BadRequestEx instead send a notification:\r\n** start an available stack\r\n** stop a stopped stack\r\n** start an available cluter\r\n** stop a stopped cluster\r\n* Cluster sync: Change the cluster state to AVAILABLE, if all the hadoop service components from the blueprint are running\r\n* Cluster sync: Change the cluster state to STOPPED, if all the hadoop service components from the blueprint are installed (In this case the ambari agent's graceful stop will be skipped)\r\n\r\nTested:\r\n* Stop cluster in ambari, sync changed to STOPPED the cluster state\r\n* Start cluster in ambari, sync changed to AVAILABLE the cluster state\r\n* Kill Cloudbreak during cluster install, after restart and successful ambari install the sync changed the cluster state to AVAILABLE (The result of mapred smoketest doesn't matter)\r\n* start available stack or cluster / stop stopped stack or cluster, no BadReqEx, only notification \r\n\r\n@martonsereg pls review\r\n"},"comment":{"url":"https://api.github.com/repos/sequenceiq/cloudbreak/issues/comments/114866460","html_url":"https://github.com/sequenceiq/cloudbreak/pull/757#issuecomment-114866460","issue_url":"https://api.github.com/repos/sequenceiq/cloudbreak/issues/757","id":114866460,"user":{"login":"jenkins-sequenceiq","id":7023503,"avatar_url":"https://avatars.githubusercontent.com/u/7023503?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkins-sequenceiq","html_url":"https://github.com/jenkins-sequenceiq","followers_url":"https://api.github.com/users/jenkins-sequenceiq/followers","following_url":"https://api.github.com/users/jenkins-sequenceiq/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-sequenceiq/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-sequenceiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-sequenceiq/subscriptions","organizations_url":"https://api.github.com/users/jenkins-sequenceiq/orgs","repos_url":"https://api.github.com/users/jenkins-sequenceiq/repos","events_url":"https://api.github.com/users/jenkins-sequenceiq/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-sequenceiq/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T13:24:13Z","updated_at":"2015-06-24T13:24:13Z","body":"Jenkins build finished, all tests passed.\nRefer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1433/"}}