Description
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:
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 ...
query kill
$ bin/tajo admin -kill q_xxx_xxxx q_xxx_xxxx has been killed.
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: ...