You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2024/06/26 17:44:00 UTC

[jira] [Created] (IMPALA-13183) Add default timeout for hs2/beeswax server sockets

Csaba Ringhofer created IMPALA-13183:
----------------------------------------

             Summary: Add default timeout for hs2/beeswax server sockets
                 Key: IMPALA-13183
                 URL: https://issues.apache.org/jira/browse/IMPALA-13183
             Project: IMPALA
          Issue Type: Improvement
          Components: Backend
            Reporter: Csaba Ringhofer


Currently Impala only sets timeout  for specific operations, for example during SASL handshake and when checking if connection can be closed due to idle session.
https://github.com/apache/impala/blob/d39596f6fb7da54c24d02523c4691e6b1973857b/be/src/rpc/TAcceptQueueServer.cpp#L153
https://github.com/apache/impala/blob/d39596f6fb7da54c24d02523c4691e6b1973857b/be/src/transport/TSaslServerTransport.cpp#L145

There are several cases where an inactive client could keep the connection open indefinitely, for example if it hasn't opened a session yet.
I think that there should be a general longer timeout set for both send/recv, e.g. flag client_default_timout_s=3600.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org