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 32C671042B for ; Wed, 11 Feb 2015 01:48:30 +0000 (UTC) Received: (qmail 1462 invoked by uid 500); 11 Feb 2015 01:48:30 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 1427 invoked by uid 500); 11 Feb 2015 01:48:30 -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 1406 invoked by uid 99); 11 Feb 2015 01:48:29 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 01:48:29 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 30BFB1CF87A; Wed, 11 Feb 2015 01:48:29 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2801686369240919404==" MIME-Version: 1.0 Subject: Re: Review Request 30862: AMBARI-9098 Cannot install new secure services to existing secure HDFS cluster From: "Rishi Pidva" To: "Vitthal Gogate" , "Nate Cole" , "jun aoki" , "Jaimin Jetly" Cc: "Rishi Pidva" , "Ambari" Date: Wed, 11 Feb 2015 01:48:29 -0000 Message-ID: <20150211014829.29076.23901@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Rishi Pidva" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/30862/ X-Sender: "Rishi Pidva" References: <20150211014313.11124.60242@reviews.apache.org> In-Reply-To: <20150211014313.11124.60242@reviews.apache.org> Reply-To: "Rishi Pidva" X-ReviewRequest-Repository: ambari --===============2801686369240919404== 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/30862/#review71902 ----------------------------------------------------------- ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/oozie_service.py This is not completely necessary as I've added the logic to UI but I believe it's better to do it in agent than in client (UI). ambari-web/app/mixins/wizard/addSecurityConfigs.js This doesn't return the services which were just selected in UI. It only returns services already installed which works for "Add Security" but doesn't work for "Add Service" ambari-web/app/mixins/wizard/addSecurityConfigs.js Again, add service has no field or binding for kerberos domain so if you install and test with default realm "EXAMPLE.COM", it works.. Anytime you have your own realm like "AMBARI.APACHE.ORG", the call to getConfigValue() returns null as value. - Rishi Pidva On Feb. 10, 2015, 5:43 p.m., Rishi Pidva wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30862/ > ----------------------------------------------------------- > > (Updated Feb. 10, 2015, 5:43 p.m.) > > > Review request for Ambari, Jaimin Jetly, jun aoki, Nate Cole, and Vitthal Gogate. > > > Bugs: AMBARI-9098 > https://issues.apache.org/jira/browse/AMBARI-9098 > > > Repository: ambari > > > Description > ------- > > Add service fails to update the configuration properly due to missing properties in controller. Also noticed there was issue in loading kerberos domain on Add service screen. > > > Diffs > ----- > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/oozie_service.py ac4280a > ambari-web/app/controllers/main/admin/security/add/step2.js 8ccd301 > ambari-web/app/data/HDP2/secure_mapping.js f4a17d9 > ambari-web/app/data/HDP2/secure_properties.js 7760dd2 > ambari-web/app/data/secure_mapping.js cfca947 > ambari-web/app/mixins/wizard/addSecurityConfigs.js 659f9cc > > Diff: https://reviews.apache.org/r/30862/diff/ > > > Testing > ------- > > Manual testing for the following use cases: > - Adding security to a basic cluster deployed via blueprint with HDFS, YARN, Mapred, Zookeeper and Knox. > - Adding Oozie service to secure cluster > - Adding Hive service to secure cluster. > - Removing security > - Adding security back. > > > Thanks, > > Rishi Pidva > > --===============2801686369240919404==--