Cancel a Request Running Under a CGE CLI Query
How to terminate a query via the --nvp option or via CTRL-C.
Queries submitted using the cge-cli query command can be terminated by using the --nvp option and specifying a timeout interval.
$ cge-cli query --db-port=16563 --nvp server.QueryTimeout 10 --quiet Query09.sparql Error -1: Request timed out at user thresholdQueries can also be terminated at any time by simply killing the CGE CLI process by using CTRL-C or other signal:
$ cge-cli query --db-port=16563 --quiet mytests/lubm0/query/Query09.sparql; sleep 1; cge-cli echo --db-port=16563 ^C0 [main] WARN com.cray.cge.cli.CgeCli - User data hiding is enabled, logs will obscure/omit user data. Set cge.server.RevealUserDataInLogs=1 \ in the in-scope cge.properties file to disable this behaviour. 1756 [main] INFO com.cray.cge.cli.commands.debug.EchoCommand - Sending echo request... 1943 [main] INFO com.cray.cge.cli.commands.debug.EchoCommand - Echoed data received and validated successfully