You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2016/06/07 01:05:21 UTC

[jira] [Comment Edited] (HIVE-13760) Add a HIVE_QUERY_TIMEOUT configuration to kill a query if a query is running for more than the configured timeout value.

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

Xuefu Zhang edited comment on HIVE-13760 at 6/7/16 1:04 AM:
------------------------------------------------------------

I'm not sure if the patch works as expected. Existing variable, queryTimeout in SQLOperation is to timeout query submission rather than query execution. However, I could be wrong though. Testing should help.


was (Author: xuefuz):
It seems to me that the patch doesn't work as expected. Existing variable, queryTimeout in SQLOperation is to tiemout query submission rather than query execution. I could be wrong though.

> Add a HIVE_QUERY_TIMEOUT configuration to kill a query if a query is running for more than the configured timeout value.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13760
>                 URL: https://issues.apache.org/jira/browse/HIVE-13760
>             Project: Hive
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 2.0.0
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: HIVE-13760.000.patch, HIVE-13760.001.patch
>
>
> Add a HIVE_QUERY_TIMEOUT configuration to kill a query if a query is running for more than the configured timeout value. The default value will be -1 , which means no timeout. This will be useful for  user to manage queries with SLA.



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