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

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

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

DaeMyung Kang commented on TAJO-474:
------------------------------------

you can use admin tools like below:

tajo admin -list
tajo admin -desc
tajo admin -cluster

> 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
>            Assignee: DaeMyung Kang
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-474.patch
>
>
> 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)