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/05/29 14:31:37 UTC
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Robbie Zhang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/13457
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
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 should be passed
as an argument to TSSLSocket._init_ instead of overriding
self.SSL_VERSION in TSSLSocketWithWildcardSAN._init_.
TESTING:
Only python lower than 2.7.9 can trigger this bug. I tested
test_client_ssl.py and impala-shell against python 2.7.5 and 2.7.6
manually.
Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
---
M shell/TSSLSocketWithWildcardSAN.py
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/13457/2
--
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: newchange
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 2
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 7: Code-Review+2
The change looks good. I ran exhaustive tests on CentOS7 and confirmed that the tls12 test ran and succeeded. I'm running some more tests on CentOS6 to confirm this didn't break older versions.
You'll need to rebase as well.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 7
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Fri, 31 May 2019 17:21:06 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Posted by "Robbie Zhang (Code Review)" <ge...@cloudera.org>.
Hello Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/13457
to look at the new patch set (#3).
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
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 should be passed
as an argument to TSSLSocket._init_ instead of overriding
self.SSL_VERSION in TSSLSocketWithWildcardSAN._init_.
TESTING:
Only python lower than 2.7.9 can trigger this bug. I tested
test_client_ssl.py and impala-shell against python 2.7.5 and 2.7.6
manually.
Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
---
M shell/TSSLSocketWithWildcardSAN.py
1 file changed, 6 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/13457/3
--
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: 3
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
Patch Set 3:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/3422/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 3
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 29 May 2019 15:21:26 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 4:
(4 comments)
http://gerrit.cloudera.org:8080/#/c/13457/4/tests/custom_cluster/test_client_ssl.py
File tests/custom_cluster/test_client_ssl.py:
http://gerrit.cloudera.org:8080/#/c/13457/4/tests/custom_cluster/test_client_ssl.py@39
PS4, Line 39: ,
flake8: E231 missing whitespace after ','
http://gerrit.cloudera.org:8080/#/c/13457/4/tests/custom_cluster/test_client_ssl.py@39
PS4, Line 39: ,
flake8: E231 missing whitespace after ','
http://gerrit.cloudera.org:8080/#/c/13457/4/tests/custom_cluster/test_client_ssl.py@41
PS4, Line 41: ,
flake8: E231 missing whitespace after ','
http://gerrit.cloudera.org:8080/#/c/13457/4/tests/custom_cluster/test_client_ssl.py@41
PS4, Line 41: ,
flake8: E231 missing whitespace after ','
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 4
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 30 May 2019 12:10:44 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 7:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4359/ DRY_RUN=true
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 7
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Fri, 31 May 2019 05:13:04 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 6:
(5 comments)
http://gerrit.cloudera.org:8080/#/c/13457/6/tests/custom_cluster/test_client_ssl.py
File tests/custom_cluster/test_client_ssl.py:
http://gerrit.cloudera.org:8080/#/c/13457/6/tests/custom_cluster/test_client_ssl.py@28
PS6, Line 28: import platform
flake8: F401 'platform' imported but unused
http://gerrit.cloudera.org:8080/#/c/13457/6/tests/custom_cluster/test_client_ssl.py@41
PS6, Line 41: ,
flake8: E231 missing whitespace after ','
http://gerrit.cloudera.org:8080/#/c/13457/6/tests/custom_cluster/test_client_ssl.py@41
PS6, Line 41: ,
flake8: E231 missing whitespace after ','
http://gerrit.cloudera.org:8080/#/c/13457/6/tests/custom_cluster/test_client_ssl.py@43
PS6, Line 43: ,
flake8: E231 missing whitespace after ','
http://gerrit.cloudera.org:8080/#/c/13457/6/tests/custom_cluster/test_client_ssl.py@43
PS6, Line 43: ,
flake8: E231 missing whitespace after ','
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 6
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Fri, 31 May 2019 03:40:28 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 5:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/3439/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 5
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 30 May 2019 12:50:00 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Robbie Zhang (Code Review)" <ge...@cloudera.org>.
Hello Tim Armstrong, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/13457
to look at the new patch set (#5).
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 should be passed
as an argument to TSSLSocket._init_ instead of overriding
self.SSL_VERSION in TSSLSocketWithWildcardSAN._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/custom_cluster/test_client_ssl.py
2 files changed, 12 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/13457/5
--
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: 5
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( 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
Reviewed-on: http://gerrit.cloudera.org:8080/13457
Reviewed-by: Tim Armstrong <ta...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M shell/TSSLSocketWithWildcardSAN.py
M tests/common/environ.py
M tests/custom_cluster/test_client_ssl.py
3 files changed, 20 insertions(+), 4 deletions(-)
Approvals:
Tim Armstrong: Looks good to me, approved
Impala Public Jenkins: Verified
--
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: merged
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 9
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 5:
I'm going to do a test run on CentOS7
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 5
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 30 May 2019 17:16:13 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Robbie Zhang (Code Review)" <ge...@cloudera.org>.
Robbie Zhang has uploaded a new patch set (#6). ( 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/6
--
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: 6
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
Patch Set 3:
(2 comments)
I need to dig into the thrift code a little bit to understand the change, but I think we need to fix the tests first.
http://gerrit.cloudera.org:8080/#/c/13457/3//COMMIT_MSG
Commit Message:
http://gerrit.cloudera.org:8080/#/c/13457/3//COMMIT_MSG@7
PS3, Line 7: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Can you rewrite the commit title to describe what changed, e.g. "support TLS1.2 with Python < 2.7.9 in shell"
http://gerrit.cloudera.org:8080/#/c/13457/3//COMMIT_MSG@17
PS3, Line 17: Only python lower than 2.7.9 can trigger this bug. I tested
You'll need to re-enable the tests disabled in https://gerrit.cloudera.org/#/c/10529/ for the Python versions that are expected to work. (Otherwise we don't have any regression testing for this).
I'm not sure what the minimum Python version that would support TLS1.2 is, but we'd need to figure that out.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 3
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Wed, 29 May 2019 20:50:40 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 5: Verified+1
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 5
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 30 May 2019 18:28:02 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 8:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4384/ DRY_RUN=false
--
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: comment
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>
Gerrit-Comment-Date: Sat, 01 Jun 2019 21:14:02 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 8: Code-Review+2
I ran CentOS 6 tests too on the previous patch and they passed (except for a couple of unrelated python 2.6 issues that will be fixed by your rebase)
--
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: comment
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>
Gerrit-Comment-Date: Sat, 01 Jun 2019 17:25:21 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 8:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4378/ DRY_RUN=true
--
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: comment
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>
Gerrit-Comment-Date: Sat, 01 Jun 2019 13:41:09 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 7:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/3459/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 7
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Fri, 31 May 2019 04:21:30 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
Patch Set 3: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4339/
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 3
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 29 May 2019 20:20:09 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Robbie Zhang (Code Review)" <ge...@cloudera.org>.
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>
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
Patch Set 2:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/3421/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 2
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 29 May 2019 15:09:11 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
Patch Set 3:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4339/ DRY_RUN=true
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 3
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 29 May 2019 15:24:53 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 4:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/3438/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 4
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 30 May 2019 12:48:21 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Robbie Zhang (Code Review)" <ge...@cloudera.org>.
Robbie Zhang has uploaded a new patch set (#4). ( 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 should be passed
as an argument to TSSLSocket._init_ instead of overriding
self.SSL_VERSION in TSSLSocketWithWildcardSAN._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/custom_cluster/test_client_ssl.py
2 files changed, 12 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/13457/4
--
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: 4
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 6:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/3458/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 6
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Fri, 31 May 2019 04:19:07 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 8:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/3473/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
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: comment
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>
Gerrit-Comment-Date: Sat, 01 Jun 2019 13:28:52 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 7: Verified+1
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 7
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Fri, 31 May 2019 11:01:28 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 5:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4347/ DRY_RUN=true
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 5
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 30 May 2019 13:00:19 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: THRIFT-3505 breaks IMPALA-5775
......................................................................
Patch Set 2:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/13457/2/shell/TSSLSocketWithWildcardSAN.py
File shell/TSSLSocketWithWildcardSAN.py:
http://gerrit.cloudera.org:8080/#/c/13457/2/shell/TSSLSocketWithWildcardSAN.py@56
PS2, Line 56: #
flake8: E116 unexpected indentation (comment)
http://gerrit.cloudera.org:8080/#/c/13457/2/shell/TSSLSocketWithWildcardSAN.py@56
PS2, Line 56: #
flake8: E265 block comment should start with '# '
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 2
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Wed, 29 May 2019 14:32:51 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 8: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4378/
--
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: comment
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>
Gerrit-Comment-Date: Sat, 01 Jun 2019 19:13:29 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 5:
(2 comments)
It took me a while to understand why the fix worked, but now that I do I think we can simplify it a bit.
http://gerrit.cloudera.org:8080/#/c/13457/5/shell/TSSLSocketWithWildcardSAN.py
File shell/TSSLSocketWithWildcardSAN.py:
http://gerrit.cloudera.org:8080/#/c/13457/5/shell/TSSLSocketWithWildcardSAN.py@52
PS5, Line 52: # THRIFT-3505 changes transport/TSSLSocket.py. TSSLSocket ignores self.SSL_VERSION.
This is inaccurate - after THRIFT-3505, SSL_VERSION still takes effect. The problem was be that __init__ was called *before* self.SSL_VERSION was set.
So I think we should remove the self.SSL_VERSION assignment and just pass in ssl_version - we don't need to do both. Setting self.SSL_VERSION directly is deprecated anyway.
http://gerrit.cloudera.org:8080/#/c/13457/5/tests/custom_cluster/test_client_ssl.py
File tests/custom_cluster/test_client_ssl.py:
http://gerrit.cloudera.org:8080/#/c/13457/5/tests/custom_cluster/test_client_ssl.py@38
PS5, Line 38: if dist.find('centos') or dist.find('red hat'):
Can you put this in tests/common/environ.py, e.g. with a name is IS_REDHAT_DERIVATIVE?
It's easier to keep track of this kind of version sniffing code if it's all in one place instead of distributed through the codebase.
--
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: comment
Gerrit-Change-Id: I3fb6510f4b556bd8c6b1e86380379aba8be4b805
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 5
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 30 May 2019 21:24:40 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 8: Verified+1
--
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: comment
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>
Gerrit-Comment-Date: Sun, 02 Jun 2019 02:40:09 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Robbie Zhang (Code Review)" <ge...@cloudera.org>.
Hello Tim Armstrong, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/13457
to look at the new patch set (#7).
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, 19 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/57/13457/7
--
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: 7
Gerrit-Owner: Robbie Zhang <rz...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
[Impala-ASF-CR] IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/13457 )
Change subject: IMPALA-8595: Support TLSv1.2 with Python < 2.7.9 in shell
......................................................................
Patch Set 8:
Hit IMPALA-8567
--
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: comment
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>
Gerrit-Comment-Date: Sat, 01 Jun 2019 21:13:45 +0000
Gerrit-HasComments: No