incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Cole (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1270) Add predicate objects for checking empty resource category & category count
Date Tue, 29 Jan 2013 20:09:12 GMT

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

Nate Cole commented on AMBARI-1270:
-----------------------------------

+1 on the patch
                
>  Add predicate objects for checking empty resource category & category count
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-1270
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1270
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>         Attachments: AMBARI-1270.patch
>
>
> We need to be able to check through the API to see if a property category contains any
properties.
> For example, if we want to check to see if configurations have been overridden then we
can look at the ServiceInfo/desired_configs of a component resource. If desired_configs is
empty then there are no config overrides.
> Through the API, we can examine the ServiceInfo/desired_configs property but we have
no way to write a predicate that would allow us to query for components that contain config
overrides.
> In order to allow for such a query, we need the underlying predicate objects.

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