Zoram Thanga has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12226


Change subject: IMPALA-7800: Reject new connections after --fe_service_threads
......................................................................

IMPALA-7800: Reject new connections after --fe_service_threads

The current implementation of the FE thrift server waits
indefinitely to open the new session, if the maximum number of
FE service threads specified by --fe_service_threads has been
allocated.

This patch introduces a startup flag to control
how the server should treat new connection requests if we have
run out of the configured number of server threads.

By default we retain the current behavior. If
--reject_request_on_max_fe_threads=true, however, the new
connection requests are rejected by the server.

Testing:

Added a new custom cluster test suite to exercise the
new code.

Ran core tests.

Change-Id: I4b9d48aaff9e3b5854b5121798211c641c58a559
---
M be/src/rpc/TAcceptQueueServer.cpp
A tests/custom_cluster/test_frontend_connection_limit.py
2 files changed, 115 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/26/12226/6
--
To view, visit http://gerrit.cloudera.org:8080/12226
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b9d48aaff9e3b5854b5121798211c641c58a559
Gerrit-Change-Number: 12226
Gerrit-PatchSet: 6
Gerrit-Owner: Zoram Thanga <zo...@cloudera.com>

Reply via email to