mirror of
https://github.com/apache/impala.git
synced 2026-02-03 09:00:39 -05:00
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 Reviewed-on: http://gerrit.cloudera.org:8080/19105 Reviewed-by: Andrew Sherman <asherman@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
66 KiB
66 KiB