hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lefty Leverenz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10146) Not count session as idle if query is running
Date Fri, 03 Apr 2015 04:16:52 GMT

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

Lefty Leverenz commented on HIVE-10146:
---------------------------------------

If you're doing another patch, you could remove the leading spaces in the second line of the
parameter description:

{code}
+    HIVE_SERVER2_IDLE_SESSION_CHECK_OPERATION("hive.server2.idle.session.check.operation",
false,
+        "Session will be considered to be idle only if there is no activity, and there is
no pending operation.\n" +
+        "  This setting takes effect only if session idle timeout and checking are enabled."),
{code}

(It's too trivial for a patch of its own.)  Also, it might help to be explicit about the parameters
for session idle timeout and checking -- hive.server2.idle.session.timeout & hive.server2.session.check.interval.

> Not count session as idle if query is running
> ---------------------------------------------
>
>                 Key: HIVE-10146
>                 URL: https://issues.apache.org/jira/browse/HIVE-10146
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>              Labels: TODOC1.2
>             Fix For: 1.2.0
>
>         Attachments: HIVE-10146.1.patch, HIVE-10146.2.patch, HIVE-10146.3.patch
>
>
> Currently, as long as there is no activity, we think the HS2 session is idle. This makes
it very hard to set HIVE_SERVER2_IDLE_SESSION_TIMEOUT. If we don't set it long enough, an
unattended query could be killed.
> We should provide an option to not to count the session as idle if some query is still
running.



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

Mime
View raw message