Open combineads opened 5 years ago
Execute long term sql. ./presto --server https://xxxx --user xxxxx --password --file "sql file" --catalog xxx --progress --ignore-errors
Check presto cli pid ps -ef | grep -i presto
kill pid, even kill -2 pid
Check Presto Condinator UI. Still, the query is running.
This can be solved by adding more code to the shutdown hook that the CLI already installs. (see Console.java for Runtime.addShutdownHook).
Console.java
Runtime.addShutdownHook
I'm working on this.
Execute long term sql. ./presto --server https://xxxx --user xxxxx --password --file "sql file" --catalog xxx --progress --ignore-errors
Check presto cli pid ps -ef | grep -i presto
kill pid, even kill -2 pid
Check Presto Condinator UI. Still, the query is running.