Joe McDonnell created IMPALA-13229:
--------------------------------------
Summary: Improve logging for TAcceptQueueServer when a thread
takes a long time in SASL negotiation
Key: IMPALA-13229
URL: https://issues.apache.org/jira/browse/IMPALA-13229
Project: IMPALA
Issue Type: Task
Components: Backend
Affects Versions: Impala 4.4.0
Reporter: Joe McDonnell
In IMPALA-11653, we are concerned about bad clients that use up threads in the
SASL negotiation thread pool for long periods of time (or eventually hit
sasl_connect_tcp_timeout_ms).
As a separate task, it would be useful to be able to quickly tell from the logs
whether a connection spends a lot of time in the SASL negotiation and could be
creating this type of problem.
We should add some logging to make this issue clear from the logs. One option
is to log a warning if SASL negotiation takes longer than some threshold (and
thus was using up a thread during that time). If SASL negotiation is taking
longer than a few seconds, that can be a real issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)