Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9605E18693 for ; Fri, 12 Feb 2016 00:27:19 +0000 (UTC) Received: (qmail 79586 invoked by uid 500); 12 Feb 2016 00:27:19 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 79550 invoked by uid 500); 12 Feb 2016 00:27:19 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 79537 invoked by uid 99); 12 Feb 2016 00:27:19 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2016 00:27:19 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 1841D2A60A5; Fri, 12 Feb 2016 00:27:18 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5539579934207757012==" MIME-Version: 1.0 Subject: Re: Review Request 43465: Hdfs keytab for hawq service check on secured cluster From: jun aoki To: jun aoki , Robert Levas , Ambari Date: Fri, 12 Feb 2016 00:27:18 -0000 Message-ID: <20160212002718.24150.55855@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: jun aoki X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/43465/ X-Sender: jun aoki References: <20160211011514.24149.49628@reviews.apache.org> In-Reply-To: <20160211011514.24149.49628@reviews.apache.org> Reply-To: jun aoki X-ReviewRequest-Repository: ambari --===============5539579934207757012== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Feb. 11, 2016, 1:15 a.m., Robert Levas wrote: > > ambari-server/src/main/resources/common-services/HAWQ/2.0.0/kerberos.json, lines 5-8 > > > > > > Is this identity used by both the `HAWKMASTER` and `HAWQSTANDBY` components? If not, this block should be moved into the appropriate component since we want to use it sparingly. Esentially the `/HDFS/NAMENODE/hdfs` is the _root_ user for HDFS. So we need to becareful where it gets put. @robert Levas, thank you for your comment and sharing the knowledge. hdfs identity is indeed used by both HAWQMASTER and HAWQSTANDBY, thus I drop this issue. > On Feb. 11, 2016, 1:15 a.m., Robert Levas wrote: > > ambari-server/src/main/resources/common-services/HAWQ/2.0.0/kerberos.json, line 31 > > > > > > This is an interesting principal name choice. Why not use a principal name that helps to identify is use. Like, `hawq@${realm}` or better yet something like `${hawq-env/hawk_user}@${realm}`. I agree Robert. this should've been hawq/_HOST${realm}. Currently this is a HAWQ limitation (it won't take any other principal name) https://issues.apache.org/jira/browse/HAWQ-406 - jun ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/43465/#review118794 ----------------------------------------------------------- On Feb. 11, 2016, 1 a.m., jun aoki wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/43465/ > ----------------------------------------------------------- > > (Updated Feb. 11, 2016, 1 a.m.) > > > Review request for Ambari. > > > Bugs: AMBARI-15001 > https://issues.apache.org/jira/browse/AMBARI-15001 > > > Repository: ambari > > > Description > ------- > > This is to add hdfs keytab for hawq nodes. > Currently HAWQ's service check fails due to data clean up after service check is completed and causes a false negative. > > > Diffs > ----- > > ambari-server/src/main/resources/common-services/HAWQ/2.0.0/kerberos.json cc11c15 > > Diff: https://reviews.apache.org/r/43465/diff/ > > > Testing > ------- > > Locally teted. > > > Thanks, > > jun aoki > > --===============5539579934207757012==--