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 B11D3200B32 for ; Thu, 23 Jun 2016 13:10:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AFB59160A68; Thu, 23 Jun 2016 11:10:17 +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 0EA83160A59 for ; Thu, 23 Jun 2016 13:10:16 +0200 (CEST) Received: (qmail 77715 invoked by uid 500); 23 Jun 2016 11:10:16 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 77699 invoked by uid 99); 23 Jun 2016 11:10:16 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2016 11:10:16 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 273D82C14F8 for ; Thu, 23 Jun 2016 11:10:16 +0000 (UTC) Date: Thu, 23 Jun 2016 11:10:16 +0000 (UTC) From: "Antonenko Alexander (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17399) Hive llap principals are shown on Configure Identity even when Hive is not deployed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Jun 2016 11:10:17 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonenko Alexander updated AMBARI-17399: ----------------------------------------- Status: Patch Available (was: Open) > Hive llap principals are shown on Configure Identity even when Hive is not deployed > ----------------------------------------------------------------------------------- > > Key: AMBARI-17399 > URL: https://issues.apache.org/jira/browse/AMBARI-17399 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.4.0 > Reporter: Antonenko Alexander > Assignee: Antonenko Alexander > Priority: Critical > Fix For: 2.4.0 > > Attachments: AMBARI-17399.patch, hive_llap_principal_and_Keytab_present_unconditionally.png > > > 1. Deploy ambari cluster with YARN, HDFS, ZOOKEEPER and HBASE > 2. enable security (AD) > Expected: On ConfigureIdentities page hive.llap.zk.sm.principal and hive.llap.zk.sm.keytab.file > should not be present if hive is not deployed on cluster. > Actual: These 2 properties are showing under Ambari Principals panel even when Hive is not deployed on the cluster. > Attached screenshot for reference. > *Cause* > This is caused when identities that have _when_ clauses are not filtered out if the when clause evaluates to {{false}} when the UI queries for the (composite) Kerberos Descriptor. > *Solution* > Use the {{evaluate_when}} and (optionally) the {{additional_services}} _{{GET}} directives_ to have {{when}} Kerberos descriptor identitiy {{when}} clauses evaluated when requesting Kerberos descriptors. > {noformat:title=Get composite Kerberos descriptor when enabling Kerberos} > GET /api/v1/clusters/CLUSTER_NAME/kerberos_descriptors/COMPOSITE?evaluate_when=true > {noformat} > {noformat:title=Get composite Kerberos descriptor when adding services (HIVE, PIG, and TEZ)} > GET /api/v1/clusters/CLUSTER_NAME/kerberos_descriptors/COMPOSITE?evaluate_when=true&additional_services=HIVE,TEZ,PIG > {noformat} > -- This message was sent by Atlassian JIRA (v6.3.4#6332)