[
https://issues.apache.org/jira/browse/HIVE-13760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299444#comment-15299444
]
zhihai xu commented on HIVE-13760:
----------------------------------
I attached a patch HIVE-13760.000.patch which add a configuration
HIVE_QUERY_TIMEOUT_SECONDS and use the smaller one as the real timeout value in
SQLOperation. I think it may give user more flexibility, which may help save
Hadoop cluster resource.
> 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
>
>
> 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)