You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Michael Ho (JIRA)" <ji...@apache.org> on 2019/07/09 00:29:00 UTC

[jira] [Created] (IMPALA-8748) Must pass hostname to RpcMgr::GetProxy()

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)