[ 
https://issues.apache.org/jira/browse/AMBARI-25184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Denis Fulachier updated AMBARI-25184:
-------------------------------------
    Docs Text:   (was: Fix suggestion: Replace line:

if not options.file and (not options.key or not options.value):

With:

if not options.file and (not options.key or options.value is None):)

Fix suggestion: Replace line: 

if not options.file and (not options.key or not options.value): 

With: 

if not options.file and (not options.key or options.value is None):

> configs.py: cannot set an empty property value
> ----------------------------------------------
>
>                 Key: AMBARI-25184
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25184
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.1
>            Reporter: Denis Fulachier
>            Priority: Major
>
> Try to set an empty value for a property using the configs.py script, using 
> the following options:
>    --action=set --key="my.key" --value="" 
> And get the following error:
> "You should use option (-f) to set file where entire configurations are saved 
> OR (-k) key and (-v) value for one property"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to