Abhishek Rawat has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18336


Change subject: IMPALA-11126: impala-shell: Set reasonable timeout for http 
client
......................................................................

IMPALA-11126: impala-shell: Set reasonable timeout for http client

In hs2-http mode, the connection timeout is None, which could cause
hang like symptoms in case of a problematic remote server. Setting
the default connection timeout to a reasonable value (300s), so that
client can retry, in such cases, when possible.

Testing: Ran e2e shell tests.

Change-Id: I29fa4ff96cdcf154c3aac7e43340af60d7d61e94
---
M shell/ImpalaHttpClient.py
M shell/impala_client.py
M shell/impala_shell_config_defaults.py
3 files changed, 12 insertions(+), 9 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/36/18336/2
--
To view, visit http://gerrit.cloudera.org:8080/18336
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I29fa4ff96cdcf154c3aac7e43340af60d7d61e94
Gerrit-Change-Number: 18336
Gerrit-PatchSet: 2
Gerrit-Owner: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>

Reply via email to