Robert Levas created AMBARI-17226:
-------------------------------------

             Summary: Hive llap principals are shown on Configure Identity even 
when Hive is not deployed
                 Key: AMBARI-17226
                 URL: https://issues.apache.org/jira/browse/AMBARI-17226
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Robert Levas
            Assignee: Robert Levas
             Fix For: 2.4.0


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.

*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*
Add a {{GET}} directive to specify {{when}} clauses are to be evaluatated while 
building the Kerberos Descriptor using the following API call:
{noformat}
GET 
/api/v1/clusters/CLUSTER_NAME/kerberos_descriptors/COMPOSITE?evaluate_when=true
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to