[
https://issues.apache.org/jira/browse/AMBARI-3600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808138#comment-13808138
]
Nate Cole commented on AMBARI-3600:
-----------------------------------
Updated patch. Added another check in the test case to show the "property
affecting only one service does not affect another" scenario that was asked
about.
> Add stale_configs attribute to a host_component response
> --------------------------------------------------------
>
> Key: AMBARI-3600
> URL: https://issues.apache.org/jira/browse/AMBARI-3600
> Project: Ambari
> Issue Type: Task
> Reporter: Nate Cole
> Assignee: Nate Cole
> Fix For: 1.4.2
>
> Attachments: AMBARI-3600.patch
>
>
> Add an intelligent check to determine if the configs are stale on a
> host_component. The response will have like the following:
> {noformat}
> {
> "href" :
> "http://localhost:8080/api/v1/clusters/c1/hosts/h1/host_components/DATANODE?fields=HostRoles/stale_configs",
> "HostRoles" : {
> "cluster_name" : "c1",
> "component_name" : "DATANODE",
> "host_name" : "h1",
> "stale_configs" : true
> }
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1#6144)