[ https://issues.apache.org/jira/browse/HIVE-14162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321226#comment-16321226 ]
BELUGA BEHR edited comment on HIVE-14162 at 1/10/18 10:16 PM: -------------------------------------------------------------- [~aihuaxu] We realy need another timeout that applies only to long-running engines such as Spark without closing the entire session. The default session is 12 hours. When a user goes home for the day, no one wants Spark Applications consuming resources all night. * _hive.execution.engine.timeout_ * _hive.execution.engine.session.timeout_ * _hive.server2.engine.session.timeout_ * _hive.server2.engine.ttl_ was (Author: belugabehr): [~aihuaxu] We realy need another timeout that applies only to long-running session such as Spark. * _hive.execution.engine.timeout_ * _hive.execution.engine.session.timeout_ * _hive.server2.engine.session.timeout_ * _hive.server2.engine.ttl_ > Allow disabling of long running job on Hive On Spark On YARN > ------------------------------------------------------------ > > Key: HIVE-14162 > URL: https://issues.apache.org/jira/browse/HIVE-14162 > Project: Hive > Issue Type: New Feature > Components: Spark > Reporter: Thomas Scott > Assignee: Aihua Xu > Priority: Minor > Attachments: HIVE-14162.1.patch > > > Hive On Spark launches a long running process on the first query to handle > all queries for that user session. In some use cases this is not desired, for > instance when using Hue with large intervals between query executions. > Could we have a property that would cause long running spark jobs to be > terminated after each query execution and started again for the next one? -- This message was sent by Atlassian JIRA (v6.4.14#64029)