You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2016/04/25 19:03:12 UTC

[jira] [Commented] (PHOENIX-2640) Make it possible to kill running queries (and ideally list them too)

    [ https://issues.apache.org/jira/browse/PHOENIX-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256591#comment-15256591 ] 

Nick Dimiduk commented on PHOENIX-2640:
---------------------------------------

bq. It would be good to implement statement.cancel()

+1. Looks like SqlLine handles ^C/SIGINT by invoking Statement.cancel().

> Make it possible to kill running queries (and ideally list them too)
> --------------------------------------------------------------------
>
>                 Key: PHOENIX-2640
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2640
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: John Wilkinson
>
> It would be useful to be able to find and kill queries that have gone on
> for a long time.
> Right now, it looks like there is no way other than killing the client, and no
> way to find running queries other than to have the client track them.
> One useful step would be to implement Statement.cancel(), which would allow client code to cleanly kill queries.
> Even better from a dev-ops/support point of view would be the ability to see running queries via a UI or API of some sort and kill them from there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)