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 AD57318E2E for ; Fri, 9 Oct 2015 16:57:16 +0000 (UTC) Received: (qmail 51613 invoked by uid 500); 9 Oct 2015 16:57:16 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 51577 invoked by uid 500); 9 Oct 2015 16:57:16 -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 51553 invoked by uid 99); 9 Oct 2015 16:57:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2015 16:57:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id D729A28D1D1; Fri, 9 Oct 2015 16:57:14 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8931875598214141977==" MIME-Version: 1.0 Subject: Re: Review Request 39176: External URL (policymgr_external_ur) value in Ranger service should be recommended by stack advisor From: "Jaimin Jetly" To: "Dmytro Sen" Cc: "Dmitro Lisnichenko" , "Jaimin Jetly" , "Ambari" Date: Fri, 09 Oct 2015 16:57:14 -0000 Message-ID: <20151009165714.16483.18282@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Jaimin Jetly" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/39176/ X-Sender: "Jaimin Jetly" References: <20151009162318.31883.57729@reviews.apache.org> In-Reply-To: <20151009162318.31883.57729@reviews.apache.org> Reply-To: "Jaimin Jetly" X-ReviewRequest-Repository: ambari --===============8931875598214141977== 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/39176/#review102079 ----------------------------------------------------------- Ship it! Ship It! - Jaimin Jetly On Oct. 9, 2015, 4:23 p.m., Dmitro Lisnichenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39176/ > ----------------------------------------------------------- > > (Updated Oct. 9, 2015, 4:23 p.m.) > > > Review request for Ambari and Dmytro Sen. > > > Bugs: AMBARI-13377 > https://issues.apache.org/jira/browse/AMBARI-13377 > > > Repository: ambari > > > Description > ------- > > policymgr_external_url should be recommended by the stack advisor while installing ranger service. it's value should be: > $\{protocol\}://$\{RANGER_ADMIN_HOST\}:$\{PORT\} > > $\{protocol\} is http or https. Refer to property ranger-site/HTTP_ENABLED to figure out if Ranger is configured with HTTP or HTTPS. If the property exists and its value is false then the protocol is https. > $\{RANGER_ADMIN_HOST\} is the fqdn of the ranger admin host. > $\{PORT\} is ranger-admin-site/ranger.service.http.port value if it is present for HDP-2.3 stack. > $\{PORT\} is ranger-site/http.service.port value if it is present for HDP-2.2 stack. > If property is not present then $\{PORT\} value is 6080 > > > Diffs > ----- > > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 2ba1a5c > ambari-server/src/test/python/stacks/2.0.6/common/test_stack_advisor.py fb70a15 > > Diff: https://reviews.apache.org/r/39176/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Dmitro Lisnichenko > > --===============8931875598214141977==--