Michael Ho has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13818


Change subject: IMPALA-8748: Always pass hostname to RpcMgr::GetProxy()
......................................................................

IMPALA-8748: Always pass hostname to RpcMgr::GetProxy()

This change fixes some callers of RpcMgr::GetProxy() tp
pass the hostname instead of the resolved IP adddress.
A new DCHECK is added to make sure calleres are not
passing the resolved IP address as hostname.

The hostname passed to RpcMgr::GetProxy() is used to
construct the principal name of the remote destination
when Kerberos is enabled.

Change-Id: I85b661c8c3b3b67bfc1ce9e29aecb90a862666c0
---
M be/src/rpc/rpc-mgr.h
M be/src/rpc/rpc-mgr.inline.h
M be/src/runtime/coordinator-backend-state.cc
M be/src/service/client-request-state.cc
4 files changed, 17 insertions(+), 13 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/13818/1
--
To view, visit http://gerrit.cloudera.org:8080/13818
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I85b661c8c3b3b67bfc1ce9e29aecb90a862666c0
Gerrit-Change-Number: 13818
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Ho <[email protected]>

Reply via email to