hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhihai xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13760) Add a HIVE_QUERY_TIMEOUT configuration to kill a query if a query is running for more than the configured timeout value.
Date Tue, 07 Jun 2016 01:41:20 GMT

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

zhihai xu commented on HIVE-13760:
----------------------------------

Thanks for the review [~xuefuz]! The timeout is set inside function {{SQLOperation.prepare}},
Currently {{SQLOperation.prepare}} is only called inside class {{SQLOperation}} by {{SQLOperation.runInternal}},
no one calls {{SQLOperation.prepare}} from outside class {{SQLOperation}}. So It looks like
the timeout will include both compiling and running time.

> 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)

Mime
View raw message