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

ASF GitHub Bot commented on TAJO-1062:
--------------------------------------

Github user mhthanh commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/156#discussion_r18077006
  
    --- Diff: tajo-docs/src/main/sphinx/tsql/admin_command.rst ---
    @@ -0,0 +1,60 @@
    +*********************************
    +Administration Commands
    +*********************************
    +
    +
    +==========
    +Synopsis
    +==========
    +
    +Tsql provides commands for administrator as follows as follows:
    +
    +.. code-block:: sql
    +
    +  default> \admin;
    +  usage: admin [options]
    +   -cluster          Show Cluster Info
    +   -desc             Show Query Description
    +   -h,--host <arg>   Tajo server host
    +   -kill <arg>       Kill a running query
    +   -list             Show Tajo query list
    +   -p,--port <arg>   Tajo server port
    +   -showmasters      gets list of tajomasters in the cluster
    +
    +
    +-----------------------------------------------
    +Basic usages
    +-----------------------------------------------
    +
    +``-list`` options shows a list of all running queries as follows: ::
    +
    +  default> \admin -list
    +  QueryId              State               StartTime           Query
    +  -------------------- ------------------- ------------------- 
-----------------------------
    +  q_1411357607375_0006 QUERY_RUNNING       2014-09-23 07:19:40 select 
count(*) from lineitem
    +
    +
    +``-desc`` options shows a detailed description of a specified running 
query s as follows: ::
    +
    +  default> \admin -desc q_1411357607375_0006
    +  Id: 1
    +  Query Id: q_1411357607375_0006
    +  Started Time: 2014-09-23 07:19:40
    +  Query State: QUERY_RUNNING
    +  Execution Time: 20.0 sec
    +  Query Progress: 0.249
    +  Query Statement:
    +  select count(*) from lineitem
    +
    +
    +``-kill`` options kills a specified running queries as follows: ::
    +
    +  default> \admin -kill q_1411357607375_0007
    +  q_1411357607375_0007 is killed successfully.
    +
    +
    +
    +``-showmasters`` options shows a list of all tajo masters as follows: ::
    --- End diff --
    
    Typos: "options" -> "option"


> Update TSQL documentation
> -------------------------
>
>                 Key: TAJO-1062
>                 URL: https://issues.apache.org/jira/browse/TAJO-1062
>             Project: Tajo
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>             Fix For: 0.9.0
>
>
> TSQL is very useful tool for tajo users. But currently, we don't provide 
> enough informations to users. Thus, we need to add more informations to 
> following documentation.
> http://tajo.apache.org/docs/current/cli.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to