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


Change subject: IMPALA-12566: Fix RpcMgrKerberizedTest on RedHat 8
......................................................................

IMPALA-12566: Fix RpcMgrKerberizedTest on RedHat 8

On RedHat 8, RpcMgrKerberizedTest cases fail with

  Jan 09 14:47:03 msmith.vpc.cloudera.com krb5kdc[609624](info): TGS_REQ
  (1 etypes {aes128-cts-hmac-sha1-96(17)}) 127.0.0.1: LOOKING_UP_SERVER:
  authtime 0, etypes {rep=UNSUPPORTED:(0)}
  impala-test/msmith.vpc.cloudera....@krbtest.com for
  impala-test/msm...@krbtest.com, Server not found in Kerberos database

This happens because bootstrap_system.sh adds an entry to /etc/hosts to
resolve 127.0.0.1 to hostname and puts the short hostname first. During
negotiation, Kudu RPC will call GetFQDN to retrieve the FQDN, which for
our tests running on localhost returns the short hostname.

Fixes RpcMgrKerberizedTest by swapping the order of entries added to
/etc/hosts so the FQDN comes first. This is consistent with the example
provided in 'hostname' man pages

  The  recommended  method  of  setting  the FQDN is to make the hostname
  be an alias for the fully qualified name using /etc/hosts, DNS, or NIS.
  For example, if the hostname was "ursula", one might have a line in
  /etc/hosts which reads

              127.0.1.1    ursula.example.com ursula

Change-Id: I1eb24f9faec766e388d793408aedecdc92107185
---
M bin/bootstrap_system.sh
M docker/entrypoint.sh
2 files changed, 3 insertions(+), 2 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1eb24f9faec766e388d793408aedecdc92107185
Gerrit-Change-Number: 20876
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <michael.sm...@cloudera.com>

Reply via email to