Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-474

Add query admin utility

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • Tools
    • None

    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:
      ...
      

      Attachments

        1. TAJO-474.patch
          24 kB
          DaeMyung Kang

        Activity

          People

            charsyam DaeMyung Kang
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: