You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Denis Fulachier (JIRA)" <ji...@apache.org> on 2019/03/07 13:08:00 UTC

[jira] [Updated] (AMBARI-25184) configs.py: cannot set an empty property value

     [ 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)