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 1526817BFE for ; Wed, 25 Feb 2015 19:54:31 +0000 (UTC) Received: (qmail 71919 invoked by uid 500); 25 Feb 2015 19:54:31 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 71892 invoked by uid 500); 25 Feb 2015 19:54:31 -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 71874 invoked by uid 99); 25 Feb 2015 19:54:30 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 19:54:30 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 604AD1D3286; Wed, 25 Feb 2015 19:54:30 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3542419740282326700==" MIME-Version: 1.0 Subject: Re: Review Request 31422: Local user mapping for hdfs headless principal not set in Kerberos descriptor From: "Vitalyi Brodetskyi" To: "Emil Anca" , "Yusaku Sako" , "Jaimin Jetly" Cc: "Robert Levas" , "Ambari" , "Vitalyi Brodetskyi" Date: Wed, 25 Feb 2015 19:54:30 -0000 Message-ID: <20150225195430.1421.66478@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Vitalyi Brodetskyi" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/31422/ X-Sender: "Vitalyi Brodetskyi" References: <20150225194106.1420.84667@reviews.apache.org> In-Reply-To: <20150225194106.1420.84667@reviews.apache.org> Reply-To: "Vitalyi Brodetskyi" X-ReviewRequest-Repository: ambari --===============3542419740282326700== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/31422/#review74077 ----------------------------------------------------------- Ship it! Ship It! - Vitalyi Brodetskyi On Feb. 25, 2015, 7:41 p.m., Robert Levas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/31422/ > ----------------------------------------------------------- > > (Updated Feb. 25, 2015, 7:41 p.m.) > > > Review request for Ambari, Emil Anca, Jaimin Jetly, and Yusaku Sako. > > > Bugs: AMBARI-9786 > https://issues.apache.org/jira/browse/AMBARI-9786 > > > Repository: ambari > > > Description > ------- > > The local user mapping for the hdfs headless principal not set in Kerberos descriptor. It should be set to `hadoop-env/hdfs_user` > > > Diffs > ----- > > ambari-server/src/main/resources/stacks/HDP/2.0.6/kerberos.json 271fffd > > Diff: https://reviews.apache.org/r/31422/diff/ > > > Testing > ------- > > Manually tested in cluster and found expetected auth-to-local rules generated: > > ``` > RULE:[1:$1@$0](ambari-qa@EXAMPLE.COM)s/.*/ambari-qa/ > RULE:[1:$1@$0](hdfs@EXAMPLE.COM)s/.*/hdfs/ > RULE:[1:$1@$0](.*@EXAMPLE.COM)s/@.*// > RULE:[2:$1@$0](dn@EXAMPLE.COM)s/.*/hdfs/ > RULE:[2:$1@$0](jn@EXAMPLE.COM)s/.*/hdfs/ > RULE:[2:$1@$0](nn@EXAMPLE.COM)s/.*/hdfs/ > DEFAULT > ``` > > See `RULE:[1:$1@$0](hdfs@EXAMPLE.COM)s/.*/hdfs/` and `RULE:[1:$1@$0](ambari-qa@EXAMPLE.COM)s/.*/ambari-qa/` > > > Thanks, > > Robert Levas > > --===============3542419740282326700==--