You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2013/02/28 16:55:12 UTC

[jira] [Updated] (AMBARI-1523) Ambari API: Resources doesn't always honor partial response fields restrictions

     [ https://issues.apache.org/jira/browse/AMBARI-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Beerbower updated AMBARI-1523:
----------------------------------

    Fix Version/s: 1.3.0
    
> Ambari API: Resources doesn't always honor partial response fields restrictions
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-1523
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1523
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 1.3.0
>
>
> For the request:
> /api/v1/clusters/c1/hosts/dev.hortonworks.com?fields=host_components
> or the request:
> http://localhost:8080/api/v1/clusters/c1/services/HDFS/components/NAMENODE?fields=host_components
> Metrics data is returned for the top level resource even though it isn't specified in the partial response data. This is bad because gathering metrics data is expensive and it should not be gathered if it is not needed. This is a significant performance issue.
> This seems to be an issue with resources that contain metric data for queries requesting a sub-resource only.

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