Sailesh Mukil has uploaded a new change for review. http://gerrit.cloudera.org:8080/6260
Change subject: IMPALA-4978: Impala should set the kerberos principal to the FQDN ...................................................................... IMPALA-4978: Impala should set the kerberos principal to the FQDN Impala calls gethostname() to get the local system's name which is used as a part of the kerberos principal. This usually works fine under most settings, however, this is not guaranteed to return the FQDN of the host under certain scenarios. Impala should attempt to get the FQDN first which can be obtained by using getaddrinfo(), and fallback to gethostname() otherwise. This is the behavior of Hadoop, which we should try to match as closely as possible. Change-Id: I1c94f36cb3493afdfcf84f8b31b9897404bd095f --- M be/src/rpc/authentication-test.cc M be/src/rpc/authentication.cc M be/src/util/network-util.cc M be/src/util/network-util.h 4 files changed, 34 insertions(+), 5 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/60/6260/1 -- To view, visit http://gerrit.cloudera.org:8080/6260 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1c94f36cb3493afdfcf84f8b31b9897404bd095f Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Sailesh Mukil <[email protected]>
