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/08 10:36:56 UTC

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

     [ https://issues.apache.org/jira/browse/TAJO-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyunsik Choi resolved TAJO-474.
-------------------------------

    Resolution: Fixed

+1
I reviewed this patch in RB. committed it to master branch.

> 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)