Wenzhe Zhou has uploaded a new patch set (#6). ( http://gerrit.cloudera.org:8080/19105 )
Change subject: IMPALA-11304: impala-shell make the client retry attempts configurable ...................................................................... IMPALA-11304: impala-shell make the client retry attempts configurable Currently max tries for connecting to coordinator is hard coded to 4 in hs2-http mode. It's required to make the max tries when connecting to coordinator a configurable option, especially in the environment where coordinator is started slowly. This patch added support for configurable max tries in hs2-http mode using the new impala-shell config option '--connect_max_tries'. The default value of '--connect_max_tries' is set to 4. Testing: - Ran e2e shell tests. - Ran impala-shell with connect_max_tries as 100 before starting impala coordinator daemon, verified that impala-shell connects to coordinator after coordinator daemon was started. Change-Id: I5f7caeb91a69e71a38689785fb1636094295fdb1 --- M shell/impala_client.py M shell/impala_shell.py M shell/option_parser.py M tests/shell/test_shell_commandline.py 4 files changed, 40 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/05/19105/6 -- To view, visit http://gerrit.cloudera.org:8080/19105 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I5f7caeb91a69e71a38689785fb1636094295fdb1 Gerrit-Change-Number: 19105 Gerrit-PatchSet: 6 Gerrit-Owner: Wenzhe Zhou <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Andrew Sherman <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
