mirror of
https://github.com/apache/impala.git
synced 2026-01-20 03:03:01 -05:00
IMPALA-5690 replaced thrift 0.9.0 with 0.9.3 in which THRIFT-3505 changed transport/TSSLSocket.py. In thrift 0.9.3, if the python version is lower than 2.7.9, TSSLSocket uses PROTOCOL_TLSv1 by default and the SSL version is passed to TSSLSocket as a paramter when calling TSSLSocket.__init__. Although TLSv1.2 is supported by Python from 2.7.9, Red Hat/CentOS support TLSv1.2 from 2.7.5 with upgraded python-libs. We need to get impala-shell support TLSv1.2 with Python 2.7.5 on Red Hat/CentOS. TESTING: impala-py.test tests/custom_cluster/test_client_ssl.py Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805 Reviewed-on: http://gerrit.cloudera.org:8080/13457 Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>