Abhishek Rawat has uploaded this change for review. ( http://gerrit.cloudera.org:8080/21925
Change subject: IMPALA-11298: Allow users to share hs2 sessions from multiple hosts ...................................................................... IMPALA-11298: Allow users to share hs2 sessions from multiple hosts hs2 sessions are not necessarily bound to a host but to a user. This patch relaxes the check which enforces kerberos username of connected user to match session username. This is because the username could include the hostname such as 'user/instance@REALM'. Instead we compare the short user name of connected user with session user. For now user name comparison is only relaxed for hs2 sessions using Kerberos AuthN. Testing: - Running exhaustive tests. Change-Id: Ib9c539cda8c760c8667a2e8cbb6d5c7902888de9 --- M be/src/rpc/authentication.cc M be/src/rpc/thrift-server.h M be/src/service/impala-hs2-server.cc M be/src/service/impala-server.cc M be/src/service/impala-server.h 5 files changed, 26 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/25/21925/2 -- To view, visit http://gerrit.cloudera.org:8080/21925 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ib9c539cda8c760c8667a2e8cbb6d5c7902888de9 Gerrit-Change-Number: 21925 Gerrit-PatchSet: 2 Gerrit-Owner: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Andrew Sherman <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]>
