prestodb / ambari-presto-service

Ambari service for Presto
Apache License 2.0
44 stars 48 forks source link

Add native upgrade capability to this Ambari - Presto integration #17

Open petroav opened 8 years ago

petroav commented 8 years ago

At the moment you cannot upgrade Presto to a newer version using the Ambari UI. The upgrade has to be done manually by uninstalling Presto and then re-installing it. This issue tracks the work needed to get native upgrade functionality working. If you think this feature is going to be useful to you and your organization, let us know.

ebuildy commented 7 years ago

Hello,

Any documentation about upgrading it manually ? thanks you

petroav commented 7 years ago

@ebuildy no official documentation. I've never done this myself but theoretically this should work. You should log into every node in your cluster that has the Presto RPM installed and run rpm -Uvh <path-to-new-rpm>. However if the new Presto version introduces new configuration options that this repo doesn't know about you could run into trouble. Needless to say, you should experiment with this procedure before doing it on a production cluster or in any other environment that matters. Hope this helps!

ebuildy commented 7 years ago

I have downloaded latest release, untar it and replace former one, changed plugin.dir value , upgraded Java , restarted it, and ... it works ;-)

Yeah!