My question is:
Is there a way to kill running query on the Fuseki or Jena level.
Currently, you have to do it via your OS. "kill -9" is fine.
I meant to kill individual Fuseki query,
For my queries it might happen that client sends a query and drops, and
such a query would execute for 2 hours and then EOF Exception is thrown.
I would like to kill such a query from my monitor tool :)
Queries can be killed from Java - there is a method on a query execution
to asynchronously kill it. It's what the timeout mechanism uses.
There's no remote interface to the functionality. Custom code
integrated into the server could do it (assembler allow loading customer
java).
To do it properly: the tricky bit is to identify the query remotely. As
the log shows, every request gets a unique number so we could do the web
thing and have /dataset/query/1234 be the URI of the query with suitable
operations.
Such a mechanism does not exist currently - be nice to do though. I
need to do something for backups to make them async operations you can
poll for completion.
Andy