hive-issues mailing list archives

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


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:

+    HIVE_SERVER2_IDLE_SESSION_CHECK_OPERATION("hive.server2.idle.session.check.operation",
+        "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."),

(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:
>             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

This message was sent by Atlassian JIRA

View raw message