Andrew Sherman has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21128
Change subject: IMPALA-12264: Add limit on number of HS2 sessions per user. ...................................................................... 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 zero, 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. Expose the per-user HS2 session counts on the /sessions page of the webui. Add a new test case in test_session_expiration.py. Change-Id: Idd28edc352102d89774f6ece5376e7c79ae41aa8 --- M be/src/service/impala-hs2-server.cc M be/src/service/impala-http-handler.cc M be/src/service/impala-http-handler.h M be/src/service/impala-server.cc M be/src/service/impala-server.h M tests/custom_cluster/test_session_expiration.py M www/sessions.tmpl 7 files changed, 148 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/28/21128/1 -- To view, visit http://gerrit.cloudera.org:8080/21128 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Idd28edc352102d89774f6ece5376e7c79ae41aa8 Gerrit-Change-Number: 21128 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Sherman <[email protected]>
