ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Di Li (JIRA)" <j...@apache.org>
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

    [ https://issues.apache.org/jira/browse/AMBARI-13903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009176#comment-15009176
] 

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
"hadoop.security.key.provider.path" to be left blank (empty value). This is controlled on
the core-site.xml level as shown below....

<property>
    <name>hadoop.security.key.provider.path</name>
    <value></value>
    <value-attributes>
      <empty-value-valid>true</empty-value-valid>
    </value-attributes>

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...

Di

> Need a way to set "advanced" properties as optional (isRequired=false)
> ----------------------------------------------------------------------
>
>                 Key: AMBARI-13903
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13903
>             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
(v6.3.4#6332)

Mime
View raw message