Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
Impala 2.12.0, Impala 3.1.0
-
None
-
ghx-label-4
Description
KrpcDataStreamSender passes a resolved IP address when creating a proxy. Instead, we should pass both the resolved address and the hostname when creating the proxy so that we won't end up using the IP address as the hostname in the Kerberos principal.
Due to the oversight above, the following error may show up when running a build of 2.12.0 when a user has Kerberos enabled and specified impala/<some-hostname>@<some-domain> as the kerberos principal.
WARNINGS: TransmitData() to X.X.X.X:27000 failed: Not authorized: Client connection negotiation failed: client connection to X.X.X.X:27000: Server impala/X.X.X.X@VPC.CLOUDERA.COM not found in Kerberos database
The workaround for this problem is to have rdns=true in /etc/krb5.conf.