incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-1523) Ambari API: Resources doesn't always honor partial response fields restrictions
Date Thu, 28 Feb 2013 16:11:13 GMT

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

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

    Attachment: AMBARI-1523.patch
    
> 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
>
>         Attachments: AMBARI-1523.patch
>
>
> 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

Mime
View raw message