falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkatesh Seetharam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-190) /api/entities/list should allow the client to query different fields
Date Wed, 13 Nov 2013 06:56:18 GMT

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

Venkatesh Seetharam commented on FALCON-190:
--------------------------------------------

What does adding comma separated fields buy us since there is only one field, status we are
using. Also, EntityList is not extensible, like a map with name and value pairs. Not sure
how this is useful.

minor nitpicks:
* org.apache.falcon.resource.SchedulableEntityManager#getEntityList - you need to add @Dimension
to the fields
* org.apache.falcon.resource.AbstractEntityManager#getEntityList - can you move the computation
of requiteStatus into a method so its clean?

> /api/entities/list should allow the client to query different fields
> --------------------------------------------------------------------
>
>                 Key: FALCON-190
>                 URL: https://issues.apache.org/jira/browse/FALCON-190
>             Project: Falcon
>          Issue Type: Sub-task
>          Components: general
>    Affects Versions: 0.4
>            Reporter: Srikanth Sundarrajan
>            Assignee: Haohui Mai
>         Attachments: FALCON-190-boolean.patch, FALCON-190.000.patch, FALCON-190.001.patch
>
>
> FALCON-171 returns the status of each entity in /api/entities/list. Getting the status
of an entity requires RPC calls, where in some use cases the client might want to avoid the
overhead.
> This jira proposes an extensible API to specify the fields that the client is interested
in, so that the client can pay the overhead of querying additional fields only when it needs
to.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message