Henry Robinson has submitted this change and it was merged.

Change subject: IMPALA-3682: Don't retry unrecoverable socket creation errors
......................................................................


IMPALA-3682: Don't retry unrecoverable socket creation errors

If a thrift client can't create a socket, all subsequent calls to Open()
should fail fast since socket creation errors are treated as
unrecoverable.

Testing: manual testing with a bad SSL configuration. Impalad startup
fails fast, rather than retrying 10 times as previously.

Change-Id: I394be287143eefc79cf22865898b71ca24c41328
Reviewed-on: http://gerrit.cloudera.org:8080/3317
Reviewed-by: Dan Hecht <[email protected]>
Tested-by: Henry Robinson <[email protected]>
---
M be/src/rpc/thrift-client.cc
M be/src/rpc/thrift-server-test.cc
M be/src/runtime/exec-env.cc
M common/thrift/generate_error_codes.py
4 files changed, 56 insertions(+), 19 deletions(-)

Approvals:
  Henry Robinson: Verified
  Dan Hecht: Looks good to me, approved



-- 
To view, visit http://gerrit.cloudera.org:8080/3317
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I394be287143eefc79cf22865898b71ca24c41328
Gerrit-PatchSet: 3
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Henry Robinson <[email protected]>
Gerrit-Reviewer: Dan Hecht <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: Sailesh Mukil <[email protected]>

Reply via email to