Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ADFA2200CD0 for ; Tue, 11 Jul 2017 01:24:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AC63D1648C5; Mon, 10 Jul 2017 23:24:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F24431648BD for ; Tue, 11 Jul 2017 01:24:06 +0200 (CEST) Received: (qmail 36537 invoked by uid 500); 10 Jul 2017 23:24:06 -0000 Mailing-List: contact reviews-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list reviews@impala.incubator.apache.org Received: (qmail 36519 invoked by uid 99); 10 Jul 2017 23:24:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2017 23:24:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 6A2AA1943D9 for ; Mon, 10 Jul 2017 23:24:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id XWo7hi7SO87b for ; Mon, 10 Jul 2017 23:24:04 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 26E3C6273E for ; Mon, 10 Jul 2017 23:05:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id v6AN5nkm026693; Mon, 10 Jul 2017 23:05:49 GMT Message-Id: <201707102305.v6AN5nkm026693@ip-10-146-233-104.ec2.internal> Date: Mon, 10 Jul 2017 23:05:49 +0000 From: "Henry Robinson (Code Review)" To: John Russell , impala-cr@cloudera.com, reviews@impala.incubator.apache.org CC: Lars Volker Reply-To: henry@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-ASF-CR=5D_IMPALA-4978_/_IMPALA-5631=3A_=5BDOCS=5D_Add_FQDN_known_issue=0A?= X-Gerrit-Change-Id: Ib039d0102878f1c05470371f581cb258287b9bc0 X-Gerrit-ChangeURL: X-Gerrit-Commit: 1a3bee5a751a796906e62cc7e0e80c6208d2c3cd In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.7 archived-at: Mon, 10 Jul 2017 23:24:07 -0000 Henry Robinson has posted comments on this change. Change subject: IMPALA-4978 / IMPALA-5631: [DOCS] Add FQDN known issue ...................................................................... Patch Set 2: (1 comment) After some discussion, I think two issues are being conflated here. 1. If a complete KRB principal is not supplied via --principal, Impala tries to guess at the hostname part using gethostname(). This might not return the FQDN which is needed for Kerberos. The linked bug (IMPALA-4978) is really talking about this issue. 2. However, the more important issue is that IMPALA-5253 made it critical that for TLS-enabled deployments, every service thinks its hostname is the FQDN. That hostname is controlled by --hostname. If that is not set, Impala falls back to gethostname() - and this is where IMPALA-4978 comes in, because it should also use the getaddrinfo() call first. The workaround for this issue is to set --hostname correctly to the FQDN (or ensure that 'hostname' returns the FQDN by configuring name resolution correctly). We found this at Cloudera because in some situations our cluster management software would set --hostname to the shortname. http://gerrit.cloudera.org:8080/#/c/7388/2/docs/topics/impala_known_issues.xml File docs/topics/impala_known_issues.xml: PS2, Line 156: This problem might occur immediately after an upgrade, due to changes in cluster : management software that supplies the --hostname flag : automatically to the Impala-related daemons. It's a bit hard to understand *what* kind of changes would cause this, and without that knowledge this is a bit vague. In my opinion it makes sense to either link directly to the CM known issue (I think it's perfectly ok to point to third-party software that breaks Impala during upgrades), or to remove this entirely. -- To view, visit http://gerrit.cloudera.org:8080/7388 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib039d0102878f1c05470371f581cb258287b9bc0 Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: John Russell Gerrit-Reviewer: Henry Robinson Gerrit-Reviewer: John Russell Gerrit-Reviewer: Lars Volker Gerrit-HasComments: Yes