Abhishek Rawat created IMPALA-11126:
---------------------------------------

             Summary: impala-shell: Set reasonable timeout for http client
                 Key: IMPALA-11126
                 URL: https://issues.apache.org/jira/browse/IMPALA-11126
             Project: IMPALA
          Issue Type: Task
            Reporter: Abhishek Rawat
            Assignee: Abhishek Rawat


The timeout for ImpalaHttpClient is 'None', which could result in hang or 
infinite timeout when SSL handshake fails. Set this timeout to a reasonable 
value so that in case of an error, the client can retry, when possible. Also, 
would be good to make this timeout a configurable option for tuning purposes.

https://github.com/apache/impala/blob/master/shell/ImpalaHttpClient.py#L125



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to