Robert Nettleton created AMBARI-11563:
-----------------------------------------

             Summary: Blueprints does not filter out conditional properties 
from cluster configuration
                 Key: AMBARI-11563
                 URL: https://issues.apache.org/jira/browse/AMBARI-11563
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Robert Nettleton
            Assignee: Robert Nettleton
            Priority: Critical
             Fix For: 2.1.0


The Blueprints processor currently has no notion of "optional" properties in a 
cluster's configuration. The Blueprints processor uses the stack definitions to 
determine the set of properties to include and extend in the process of 
deploying a cluster. 

There are some properties in HBase and Hive that are "conditional" in nature. 

An example of this is the "hbase.coprocessor.regionserver.classes" config 
property in "hbase-site".  This property should only be set when HBase 
authorization is configured to be enabled.

Currently, a Blueprints deployment of HBase will set this property to the 
default, empty value, and this will be included in the Cluster configuration.  
This causes problems after the cluster deployment completes, since the Ambari 
UI will display this property as required, even through authorization is not 
configured to be enabled in this cluster.  

The Blueprints configuration processor needs to be modified to exclude any 
properties that don't meet certain conditions:

1. HBase Authorization (on/off)
2. Hive Authentication (on/off)
3. HDFS NameNode properties that are only useful in a non-HA scenario must be 
filtered out in an HDFS NameNode HA deployment.

I'm working on a fix for this, and will be submitting a patch shortly. 




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

Reply via email to