[
https://issues.apache.org/jira/browse/IMPALA-12264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831980#comment-17831980
]
ASF subversion and git services commented on IMPALA-12264:
----------------------------------------------------------
Commit 1f9db9e05b2766d35c186e8e8b4e25b89f7d5793 in impala's branch
refs/heads/master from Andrew Sherman
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=1f9db9e05 ]
IMPALA-12264: Add limit on number of HS2 sessions per user.
Add a new flag --max_hs2_sessions_per_user which sets a limit on the
number of Hiveserver2 sessions that can be concurrently opened by a
user on a coordinator. By default this value is -1, which disables
the new feature. An attempt to open more sessions than the new flag
value results in an error. This is implemented by maintaining a map of
users to a count of HS2 sessions.
If the per-user HS2 session counts are being limited in this way,
then the per-user counts are visible on the /sessions page of the
webui.
Add a new test case in test_session_expiration.py.
Change-Id: Idd28edc352102d89774f6ece5376e7c79ae41aa8
Reviewed-on: http://gerrit.cloudera.org:8080/21128
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Add configuration to limit concurrent connections
> -------------------------------------------------
>
> Key: IMPALA-12264
> URL: https://issues.apache.org/jira/browse/IMPALA-12264
> Project: IMPALA
> Issue Type: New Feature
> Components: Backend
> Reporter: Quanlong Huang
> Assignee: Andrew Sherman
> Priority: Major
>
> To prevent a rogue application from repeatedly connecting to and monopolizing
> Impala, we can add configurations to limit concurrent connections. E.g. limit
> the number of concurrent connections per user, IP address, or the user and IP
> address combination.
> CC [[email protected]]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]