Impala Public Jenkins has submitted this change and it was merged. Change subject: IMPALA-5041: Allow AuthManager::Init() to be called more than once ......................................................................
IMPALA-5041: Allow AuthManager::Init() to be called more than once We use a global variable to track the completion of the kerberos environment setup which shouldn't be the case since we would want to re-setup the environment if we call AuthManager::Init() with a different configuration. Currently, if we call it again, some of our new configuration get applied, whereas some don't. Also, the global variable 'env_setup_complete_' was used so that we don't set the environment twice (once for internal transport and once for external). This patch ensures that it's still the case. Change-Id: I12cc210aa422f077446ea728ebf76921351417b0 Reviewed-on: http://gerrit.cloudera.org:8080/6333 Reviewed-by: Sailesh Mukil <[email protected]> Tested-by: Impala Public Jenkins --- M be/src/rpc/auth-provider.h M be/src/rpc/authentication.cc M be/src/rpc/authentication.h 3 files changed, 14 insertions(+), 15 deletions(-) Approvals: Impala Public Jenkins: Verified Sailesh Mukil: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/6333 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I12cc210aa422f077446ea728ebf76921351417b0 Gerrit-PatchSet: 4 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Sailesh Mukil <[email protected]> Gerrit-Reviewer: Henry Robinson <[email protected]> Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Sailesh Mukil <[email protected]>
