Hello Jason Fehr, Impala Public Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22600 to look at the new patch set (#10). Change subject: IMPALA-13813: OAuth/JWT Avoid key verification on every rpc call ...................................................................... IMPALA-13813: OAuth/JWT Avoid key verification on every rpc call This patch optimizes the OAuth/JWT flow by setting cookies in order to avoid token verification in every RPC call. The default cookie expiry time is 1 day. This is only valid for hs2-http protocol. Testing: Modified existing custom cluster tests: test_jwt_auth_valid and test_oauth_auth_valid: - total jwt token verification success count = 1: Reason: Verify jwt/oauth token only the first time and then set the cookie so do not need to re-verify the token for subsequent rpc queries. - total cookie auth success = rpc count - 1: Reason: After first verification, all subsequent authentication will be cookie auth based. Change-Id: I0e3e5d9cf8bdb99920611b06571515e05e15164e --- M be/src/rpc/authentication.cc M tests/custom_cluster/test_shell_jwt_auth.py M tests/custom_cluster/test_shell_oauth_auth.py 3 files changed, 31 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/00/22600/10 -- To view, visit http://gerrit.cloudera.org:8080/22600 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I0e3e5d9cf8bdb99920611b06571515e05e15164e Gerrit-Change-Number: 22600 Gerrit-PatchSet: 10 Gerrit-Owner: gaurav singh <gsi...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com> Gerrit-Reviewer: gaurav singh <gsi...@cloudera.com>