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

Lefty Leverenz commented on HIVE-17483:
---------------------------------------

Doc note:  The "kill query" command needs to be documented in the HiveServer2 
doc, and the list of non-reserved keywords needs to be updated in the DDL doc 
for 3.0.0.

* [HiveServer2 Clients | 
https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients]
* [DDL -- Non-reserved Keywords | 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Non-reservedKeywords]

Added a TODOC3.0 label.

> HS2 kill command to kill queries using query id
> -----------------------------------------------
>
>                 Key: HIVE-17483
>                 URL: https://issues.apache.org/jira/browse/HIVE-17483
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Thejas M Nair
>            Assignee: Teddy Choi
>              Labels: TODOC3.0
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17483.10.patch, HIVE-17483.1.patch, 
> HIVE-17483.2.patch, HIVE-17483.2.patch, HIVE-17483.3.patch, 
> HIVE-17483.4.patch, HIVE-17483.5.patch, HIVE-17483.6.patch, 
> HIVE-17483.7.patch, HIVE-17483.8.patch, HIVE-17483.9.patch
>
>
> For administrators, it is important to be able to kill queries if required. 
> Currently, there is no clean way to do it.
> It would help to have a "kill query <query id>" command that can be run using 
> odbc/jdbc against a HiveServer2 instance, to kill a query with that queryid 
> running in that instance.
> Authorization will have to be done to ensure that the user that is invoking 
> the API is allowed to perform this action.
> In case of SQL std authorization, this would require admin role.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to