I have to restart presto-server
on EMR
to load my plugin
. With reference to official AWS
EMR
docs:
sudo restart presto-server
sudo stop presto-server
followed bysudo start presto-server
While Restarting a service page favours the 2nd technique above,
Note: Stop/start is required; do not use the restart command.
I have found that both work without a glitch.
Questions:
sudo restart
& sudo stop
+ sudo start
?restart
?presto-server
?Platform / Frameworks:
emr-5.15.0
Presto 0.212
sudo systemctl stop presto-server
sudo systemctl start presto-server
sudo systemctl status presto-server
restart
does not reload the service configuration file (unfortunately, i don't remember the path to the file; this is the file which tells e.g. which user Presto runs as). Depending on the changes you introduce, this may or may not be an issue. Eg. if you are changing Presto config files or plugins, this is not an issue. If, however, you're changing the Presto service definition file, restart
will not pick up your changes, whereas stop
+ start
will.
Note: while the answer hopefully is/was applicable to EMR 5.15, it seems not applicable to EMR 6.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With