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)

Reply via email to