You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Robbie Zhang (Code Review)" <ge...@cloudera.org> on 2019/06/01 12:43:58 UTC

[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell

Robbie Zhang has uploaded a new patch set (#8). ( http://gerrit.cloudera.org:8080/13457 )

Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................

IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell

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
---
M shell/TSSLSocketWithWildcardSAN.py
M tests/common/environ.py
M tests/custom_cluster/test_client_ssl.py
3 files changed, 20 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/13457/8
-- 
To view, visit http://gerrit.cloudera.org:8080/13457
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 8
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>