Michael Smith has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23226 )

Change subject: IMPALA-14460: Keep http connections open in impala-shell
......................................................................


Patch Set 13:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/23226/11/shell/impala_shell/ImpalaHttpClient.py
File shell/impala_shell/ImpalaHttpClient.py:

http://gerrit.cloudera.org:8080/#/c/23226/11/shell/impala_shell/ImpalaHttpClient.py@417
PS11, Line 417: e.errno != errno.EPIPE
> Would it make sense to account for connection reset cases as well here?
I could see retrying after ECONNRESET. I'm not sure how to simulate that 
behavior to test it out.

Csaba, any concerns?


http://gerrit.cloudera.org:8080/#/c/23226/11/shell/impala_shell/ImpalaHttpClient.py@428
PS11, Line 428:       self.close()
> Is there another way to delete http cookies instead of closing the socket?
I'm not sure we have to close and re-open it to retry. The cookies were cleaned 
earlier, and retrying will send a new HTTP request. It'd be interesting to try.


http://gerrit.cloudera.org:8080/#/c/23226/11/tests/custom_cluster/test_shell_oauth_auth.py
File tests/custom_cluster/test_shell_oauth_auth.py:

http://gerrit.cloudera.org:8080/#/c/23226/11/tests/custom_cluster/test_shell_oauth_auth.py@135
PS11, Line 135: self.__wait_for
> Nit: Please consider changing this variable name to be "query_connection_co
Done


http://gerrit.cloudera.org:8080/#/c/23226/11/tests/custom_cluster/test_shell_oauth_auth.py@179
PS11, Line 179:     self.__wait_for_connection_count(before_connection_count + 
1)
> Nit: Please consider changing this variable name to be "query_connection_co
Done



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If7a6c4f175cceca80f530b4d4355316d588730f0
Gerrit-Change-Number: 23226
Gerrit-PatchSet: 13
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Pranav Lodha <[email protected]>
Gerrit-Comment-Date: Thu, 13 Nov 2025 22:18:31 +0000
Gerrit-HasComments: Yes

Reply via email to