John Sherman has uploaded a new change for review.
http://gerrit.cloudera.org:8080/7061
Change subject: IMPALA-5394: Set socket timeouts while opening TSaslTransport
......................................................................
IMPALA-5394: Set socket timeouts while opening TSaslTransport
- TThreadPoolServer calls getTransport() on a client from the Server
thread (the thread that does the accepts).
- TSaslServerTransport->getTransport() calls TSaslTransport->open()
- TSaslServerTransport->open() tries to negotiate SASL which calls
read/write
- If read/write blocks, the TThreadPoolServer cannot accept
connections
- This patch set the underlying TSocket's recvTimeout and sendTimeout
before the TSaslServerTransport->open() and reset them to 0 after
open() completes.
- Added sasl_connect_tcp_timeout_seconds flag that defaults to 5
Change-Id: I56a5f3d9cf931cff14eae7f236fea018236a6255
---
M be/src/transport/TSaslServerTransport.cpp
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/61/7061/1
--
To view, visit http://gerrit.cloudera.org:8080/7061
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I56a5f3d9cf931cff14eae7f236fea018236a6255
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: John Sherman <[email protected]>