tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-474) Add query admin utility
Date Wed, 08 Jan 2014 09:40:50 GMT

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

Hudson commented on TAJO-474:
-----------------------------

FAILURE: Integrated in Tajo-trunk-postcommit #670 (See [https://builds.apache.org/job/Tajo-trunk-postcommit/670/])
TAJO-474: Add query admin utility. (DaeMyung Kang via hyunsik) (hyunsik: https://git-wip-us.apache.org/repos/asf?p=incubator-tajo.git&a=commit&h=285c4a485c68e8d0e57145971b13676446010196)
* CHANGES.txt
* tajo-client/src/main/java/org/apache/tajo/client/TajoAdmin.java
* tajo-dist/src/main/bin/tajo
* tajo-client/src/main/proto/ClientProtos.proto
* tajo-client/src/main/java/org/apache/tajo/client/TajoClient.java
* tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/TajoMasterClientService.java


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

Mime
View raw message