You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by Karthik Kambatla <ka...@cloudera.com> on 2013/10/15 21:52:39 UTC

Filtering applications for REST API /apps

Hi devs,

Had a quick question about the way we filter applications for REST
requests. Looks like we fetch all the applications from the Java API and
then apply the filters. Is there a particular reason for not pushing the
filters all the way through to the Java API, at least @Private initially if
there are concerns on supporting them.

Ran into this while considering adding a filter on the applicationName. To
do this, would it be preferred to augment the current filtering mechanism
and support it via the REST API?

Thanks
Karthik

Re: Filtering applications for REST API /apps

Posted by Thomas Graves <tg...@yahoo-inc.com>.
We should ideally be pushing this back into the Java API/components.  One
instance of this is already being done is:
https://issues.apache.org/jira/browse/YARN-807.

Tom

On 10/15/13 2:52 PM, "Karthik Kambatla" <ka...@cloudera.com> wrote:

>Hi devs,
>
>Had a quick question about the way we filter applications for REST
>requests. Looks like we fetch all the applications from the Java API and
>then apply the filters. Is there a particular reason for not pushing the
>filters all the way through to the Java API, at least @Private initially
>if
>there are concerns on supporting them.
>
>Ran into this while considering adding a filter on the applicationName. To
>yand support it via the REST API?
>
>Thanks
>Karthik