Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IMPALA-8407: Warn when Impala shell fails to connect due to tlsv1.2
When impala-shell is used to connect to an impala cluster with --ssl_minimum_version=tlsv1.2, if the Python version being used is < 2.7.9 the connection will fail due to a limitation of TSSLSocket. See IMPALA-6990 for more details. Currently, when this occurs, the error that gets printed is "EOF occurred in violation of protocol", which is not very helpful. This patch detect this situation and prints a more informative warning. Testing: - Updated test_tls_v12 so that instead of being skipped on affected platforms, it runs and checks for the presence of the warning. Change-Id: I3feddaccb9be3a15220ce9e59aa7ed41d41b8ab6 Reviewed-on: http://gerrit.cloudera.org:8080/13003 Reviewed-by: Thomas Marshall <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> Reviewed-on: https://gerrit.sjc.cloudera.com/c/cdh/impala/+/49584 Tested-by: Jenkins User <[email protected]> Reviewed-by: Laszlo Gaal <[email protected]> CDH-Build: Laszlo Gaal <[email protected]> Quasar-L0: Laszlo Gaal <[email protected]>
- Loading branch information