ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Di Li (JIRA)" <>
Subject [jira] [Commented] (AMBARI-13903) Need a way to set "advanced" properties as optional (isRequired=false)
Date Tue, 17 Nov 2015 18:22:11 GMT


Di Li commented on AMBARI-13903:

[~natefalkibm] Hello Nathan, 

For example, if you look under Advanced core-site section, the Ambari web UI allows property
"" to be left blank (empty value). This is controlled on
the core-site.xml level as shown below....


Have you tried specifying properties to allow empty values to meet your requirement?

It's of course up to component's Python script to handle what it means for a prop to have
an empty value...


> Need a way to set "advanced" properties as optional (isRequired=false)
> ----------------------------------------------------------------------
>                 Key: AMBARI-13903
>                 URL:
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Nathan Falk
> The only way to let a configuration property be optional seems to be to define it in
site_properties.js. It should be possible to specify required=false for any property in any
xml file in the stack.

This message was sent by Atlassian JIRA

View raw message