Skip to content

Commit c2627ba

Browse files
aphadkecloudera-hudson
aphadke
authored andcommitted
IMPALA-7943: Bump the default client timeout set on impala-shell
As part of IMPALA-7555, we added a default socket timeout of 5 seconds when connecting to an impalad. Under heavy load with kerberos and SSL enabled, we could hit this default timeout. This change bumps up the timeout to 60 secs to make the impala-shell more robust. Change-Id: Ifc40069e86cbf93634320804efba003fb5551afe Reviewed-on: http://gerrit.cloudera.org:8080/12051 Reviewed-by: Impala Public Jenkins <[email protected]> Reviewed-by: Lars Volker <[email protected]> Tested-by: Impala Public Jenkins <[email protected]>
1 parent b6a6e9e commit c2627ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shell/impala_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class ImpalaClient(object):
6666

6767
def __init__(self, impalad, kerberos_host_fqdn, use_kerberos=False,
6868
kerberos_service_name="impala", use_ssl=False, ca_cert=None, user=None,
69-
ldap_password=None, use_ldap=False, client_connect_timeout_ms=5000,
69+
ldap_password=None, use_ldap=False, client_connect_timeout_ms=60000,
7070
verbose=True):
7171
self.connected = False
7272
self.impalad_host = impalad[0].encode('ascii', 'ignore')

shell/impala_shell_config_defaults.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
'verbose': True,
5252
'version': False,
5353
'write_delimited': False,
54-
'client_connect_timeout_ms': 5000,
54+
'client_connect_timeout_ms': 60000,
5555
}

0 commit comments

Comments
 (0)