{"action":"created","issue":{"url":"https://api.github.com/repos/prestodb/presto-admin/issues/46","labels_url":"https://api.github.com/repos/prestodb/presto-admin/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/prestodb/presto-admin/issues/46/comments","events_url":"https://api.github.com/repos/prestodb/presto-admin/issues/46/events","html_url":"https://github.com/prestodb/presto-admin/pull/46","id":103373124,"number":46,"title":"Add one-step presto upgrade to presto-admin","user":{"login":"ebd2","id":12751788,"avatar_url":"https://avatars.githubusercontent.com/u/12751788?v=3","gravatar_id":"","url":"https://api.github.com/users/ebd2","html_url":"https://github.com/ebd2","followers_url":"https://api.github.com/users/ebd2/followers","following_url":"https://api.github.com/users/ebd2/following{/other_user}","gists_url":"https://api.github.com/users/ebd2/gists{/gist_id}","starred_url":"https://api.github.com/users/ebd2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebd2/subscriptions","organizations_url":"https://api.github.com/users/ebd2/orgs","repos_url":"https://api.github.com/users/ebd2/repos","events_url":"https://api.github.com/users/ebd2/events{/privacy}","received_events_url":"https://api.github.com/users/ebd2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-26T21:58:24Z","updated_at":"2015-09-09T19:25:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prestodb/presto-admin/pulls/46","html_url":"https://github.com/prestodb/presto-admin/pull/46","diff_url":"https://github.com/prestodb/presto-admin/pull/46.diff","patch_url":"https://github.com/prestodb/presto-admin/pull/46.patch"},"body":"This pull request adds one-step upgrade for prestodb to presto-admin. In order to support this, it adds functionality to gather the existing presto configuration from the hosts in the cluster to a local directory, and to deploy configuration to the cluster from a directory. This ensures that the config on the cluster remains the same across an upgrade in the following situations:\r\n* A user has changed the configuration on the cluster outside of presto-admin\r\n* prestodb was installed and configured manually, and presto-admin has no config for the cluster.\r\n\r\nThe upgrade process works as follows:\r\n1. Gather the cluster config to a local directory.\r\n2. Uninstall presto from the cluster.\r\n3. Install the new presto package on the cluster.\r\n4. Deploy the previous configuration from the local directory."},"comment":{"url":"https://api.github.com/repos/prestodb/presto-admin/issues/comments/139021129","html_url":"https://github.com/prestodb/presto-admin/pull/46#issuecomment-139021129","issue_url":"https://api.github.com/repos/prestodb/presto-admin/issues/46","id":139021129,"user":{"login":"cawallin","id":3652644,"avatar_url":"https://avatars.githubusercontent.com/u/3652644?v=3","gravatar_id":"","url":"https://api.github.com/users/cawallin","html_url":"https://github.com/cawallin","followers_url":"https://api.github.com/users/cawallin/followers","following_url":"https://api.github.com/users/cawallin/following{/other_user}","gists_url":"https://api.github.com/users/cawallin/gists{/gist_id}","starred_url":"https://api.github.com/users/cawallin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cawallin/subscriptions","organizations_url":"https://api.github.com/users/cawallin/orgs","repos_url":"https://api.github.com/users/cawallin/repos","events_url":"https://api.github.com/users/cawallin/events{/privacy}","received_events_url":"https://api.github.com/users/cawallin/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T19:25:58Z","updated_at":"2015-09-09T19:25:58Z","body":"@rschlussel -- can you review please?"}}