incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-2428) Global properties retrieved from server and absent on ui metadata doesn't allow saving configurations.
Date Wed, 19 Jun 2013 03:13:20 GMT

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

Yusaku Sako commented on AMBARI-2428:
-------------------------------------

[~jaimin], can you give some concrete examples that this JIRA addresses?
                
> Global properties retrieved from server and absent on ui metadata doesn't allow saving
configurations.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-2428
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2428
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.2.5
>            Reporter: Jaimin D Jetly
>            Assignee: Jaimin D Jetly
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2428.patch
>
>
> We do errorCount on properties present in in-memory data-structure and have isVisible
attribute set to true. 
> If there are properties retrieved from server global configurations and not present on
ui global metadata, We don't set it's isVisible flag explicitly to false and so they are a
part of the in-memory data-structure with isVisible attribute to true.
> Such condition could arise When global configuration on the server is changed via API
creating a new property whose value is invalid according to UI validations.
> OR
> Post-install removing a property from UI metadata whose isVisible attribute was false
and had invalid value . This might happen during upgrades.
> As a part of solution We should set isVisible attribute of such properties to false.
Global properties need to be in UI metadata with isVisible flag set to true to be displayed.
We are not showing these properties anyways as they are not in the metadata and shouldn't
do errorCount on it as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message