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 2CC0A200BB2 for ; Sat, 15 Oct 2016 06:56:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2B3CA160AE3; Sat, 15 Oct 2016 04:56:41 +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 72F05160ADD for ; Sat, 15 Oct 2016 06:56:40 +0200 (CEST) Received: (qmail 8002 invoked by uid 500); 15 Oct 2016 04:56:39 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 7990 invoked by uid 99); 15 Oct 2016 04:56:39 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Oct 2016 04:56:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 56509E049D; Sat, 15 Oct 2016 04:56:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: gautam@apache.org To: commits@ambari.apache.org Message-Id: <8c79567176564bd9ae1eb70f57f94408@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-18585 Set _HOST for Hbase Master principal in Kerberos Date: Sat, 15 Oct 2016 04:56:39 +0000 (UTC) archived-at: Sat, 15 Oct 2016 04:56:41 -0000 Repository: ambari Updated Branches: refs/heads/branch-2.5 ac6556642 -> a5f8a9033 AMBARI-18585 Set _HOST for Hbase Master principal in Kerberos enabled Ranger Hbase Plugin (Mugdha Varadkar via gautam) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a5f8a903 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a5f8a903 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a5f8a903 Branch: refs/heads/branch-2.5 Commit: a5f8a903340897a5d0b7369252f3849dec5f4c14 Parents: ac65566 Author: Gautam Borad Authored: Thu Oct 13 17:14:08 2016 +0530 Committer: Gautam Borad Committed: Sat Oct 15 10:24:47 2016 +0530 ---------------------------------------------------------------------- .../HBASE/0.96.0.2.0/package/scripts/params_linux.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a5f8a903/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py index 49e4575..89731f2 100644 --- a/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py +++ b/ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py @@ -336,9 +336,7 @@ if has_ranger_admin: sql_connector_jar = '' if security_enabled: - hbase_master_hosts = default('/clusterHostInfo/hbase_master_hosts', []) - hbase_master_host = hbase_master_hosts[0] if len(hbase_master_hosts) > 0 else 'localhost' - master_principal = config['configurations']['hbase-site']['hbase.master.kerberos.principal'].replace('_HOST', hbase_master_host) + master_principal = config['configurations']['hbase-site']['hbase.master.kerberos.principal'] hbase_ranger_plugin_config = { 'username': repo_config_username,