You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2014/01/03 07:06:50 UTC

[jira] [Created] (TAJO-474) Add query admin utility

Hyunsik Choi created TAJO-474:
---------------------------------

             Summary: Add query admin utility
                 Key: TAJO-474
                 URL: https://issues.apache.org/jira/browse/TAJO-474
             Project: Tajo
          Issue Type: New Feature
          Components: tools
            Reporter: Hyunsik Choi
             Fix For: 0.8-incubating


We need query admin utility to list running queries, get a query detail, or kill a specified running query. The utility may have the following form:

{code:title=query list}
$ bin/tajo admin -list
query id                  start time                 query
q_xxx_xxx running  2014-01-02T13:45:00 select a,b,c ... ...
q_xxx_xxx running  2014-01-02T13:47:00 select count(distinct ...
{code}

{code:title=query kill}
$ bin/tajo admin -kill q_xxx_xxxx
q_xxx_xxxx has been killed.
{code}

{code:title=query detail}
$ bin/tajo admin -desc q_xxx_xxxx
query id: q_xxx_xxxx
submit user: hyunsik
start time: 2014-01-01T13:46:50
running time: 36 sec
query statement: 

SELECT a,b,c
FROM ...

query logical plan:
...

distributed execution plan:
...
{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)