Michael Ho created IMPALA-8748:
----------------------------------

             Summary: Must pass hostname to RpcMgr::GetProxy()
                 Key: IMPALA-8748
                 URL: https://issues.apache.org/jira/browse/IMPALA-8748
             Project: IMPALA
          Issue Type: Bug
          Components: Distributed Exec
    Affects Versions: Impala 3.3.0
            Reporter: Michael Ho
            Assignee: Michael Ho


Various RPCs converted to KRPC recently mistakenly pass the resolved IP address 
instead of the actual hostname. An example below in 
coordinator-backend-state.cc. This may lead to failure when running with 
Kerberos enabled.

{noformat}
  std::unique_ptr<ControlServiceProxy> proxy;
  Status get_proxy_status =
      ControlService::GetProxy(krpc_host_, krpc_host_.hostname, &proxy);
  if (!get_proxy_status.ok()) {
    SetExecError(get_proxy_status);
    return;
  }
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to