{"action":"created","issue":{"url":"https://api.github.com/repos/bloomberg/chef-bach/issues/620","repository_url":"https://api.github.com/repos/bloomberg/chef-bach","labels_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/620/comments","events_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/620/events","html_url":"https://github.com/bloomberg/chef-bach/pull/620","id":167107111,"number":620,"title":"Enable hbase service restart when Java version or flavor is changed","user":{"login":"bijugs","id":7581305,"avatar_url":"https://avatars.githubusercontent.com/u/7581305?v=3","gravatar_id":"","url":"https://api.github.com/users/bijugs","html_url":"https://github.com/bijugs","followers_url":"https://api.github.com/users/bijugs/followers","following_url":"https://api.github.com/users/bijugs/following{/other_user}","gists_url":"https://api.github.com/users/bijugs/gists{/gist_id}","starred_url":"https://api.github.com/users/bijugs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bijugs/subscriptions","organizations_url":"https://api.github.com/users/bijugs/orgs","repos_url":"https://api.github.com/users/bijugs/repos","events_url":"https://api.github.com/users/bijugs/events{/privacy}","received_events_url":"https://api.github.com/users/bijugs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bloomberg/chef-bach/labels/Breaking","name":"Breaking","color":"000000"},{"url":"https://api.github.com/repos/bloomberg/chef-bach/labels/enhancement","name":"enhancement","color":"cccccc"},{"url":"https://api.github.com/repos/bloomberg/chef-bach/labels/HBase","name":"HBase","color":"0052cc"},{"url":"https://api.github.com/repos/bloomberg/chef-bach/labels/Ready%20to%20Review","name":"Ready to Review","color":"cc317c"},{"url":"https://api.github.com/repos/bloomberg/chef-bach/labels/Tested","name":"Tested","color":"009800"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-22T18:42:36Z","updated_at":"2016-07-29T12:23:42Z","closed_at":"2016-07-28T19:30:51Z","pull_request":{"url":"https://api.github.com/repos/bloomberg/chef-bach/pulls/620","html_url":"https://github.com/bloomberg/chef-bach/pull/620","diff_url":"https://github.com/bloomberg/chef-bach/pull/620.diff","patch_url":"https://github.com/bloomberg/chef-bach/pull/620.patch"},"body":"``java`` community cookbook now provides a [standard resource](https://github.com/agileorbit-cookbooks/java/blob/7fdd8507991d35065c833fff3554f4642b072366/recipes/notify.rb#L29-L33) to subscribe to get notified when Java version or flavor got changed. This PR is to use this resource and restart ``HBase`` services when there is a change.\r\n\r\n**Testing**\r\n- Verified that the ``hbase`` services restart when Java version is changed from 7 to 8.\r\n\r\n**Note**\r\n- This PR requires ``java`` cookbook version >= 1.41.0 to be available in chef-server i.e. this can break chef-client runs in an existing cluster. "},"comment":{"url":"https://api.github.com/repos/bloomberg/chef-bach/issues/comments/236166861","html_url":"https://github.com/bloomberg/chef-bach/pull/620#issuecomment-236166861","issue_url":"https://api.github.com/repos/bloomberg/chef-bach/issues/620","id":236166861,"user":{"login":"amithkanand","id":6287145,"avatar_url":"https://avatars.githubusercontent.com/u/6287145?v=3","gravatar_id":"","url":"https://api.github.com/users/amithkanand","html_url":"https://github.com/amithkanand","followers_url":"https://api.github.com/users/amithkanand/followers","following_url":"https://api.github.com/users/amithkanand/following{/other_user}","gists_url":"https://api.github.com/users/amithkanand/gists{/gist_id}","starred_url":"https://api.github.com/users/amithkanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amithkanand/subscriptions","organizations_url":"https://api.github.com/users/amithkanand/orgs","repos_url":"https://api.github.com/users/amithkanand/repos","events_url":"https://api.github.com/users/amithkanand/events{/privacy}","received_events_url":"https://api.github.com/users/amithkanand/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T12:23:42Z","updated_at":"2016-07-29T12:23:42Z","body":"Is this only required for `HBase`? What about `NameNode`, 'DataNode`, `NodeManager` and other `Hadoop` related services?"}}
{"actor":{"display_login":"amithkanand"}}