Siddharth Wagle created AMBARI-3355:
---------------------------------------

             Summary: API doesn't return ha_status property
                 Key: AMBARI-3355
                 URL: https://issues.apache.org/jira/browse/AMBARI-3355
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.4.1
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.4.1
         Attachments: AMBARI-3355.patch

When trying to get ha_status property for all host components by requesting: 
/api/v1/clusters/clustername/services?fields=components/host_components/HostRoles/ha_status.
 I got an error:
{noformat}
{
  "status" : 400,
  "message" : "The properties [HostRoles/ha_status] specified in the request or 
predicate are not supported for the resource type HostComponent."
} 
{noformat}  
Although current request for any other property(desired_stack_id, 
actual_configs) of host component works.

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

Reply via email to