hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1399) Allow users to annotate an application with multiple tags
Date Fri, 03 Jan 2014 17:17:53 GMT

    [ https://issues.apache.org/jira/browse/YARN-1399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861673#comment-13861673

Karthik Kambatla commented on YARN-1399:

Thanks Vinod. I agree with the suggestions, in general.

bq. Today getApplications() API returns the list of ALL applications whether accessible or
not. That's a bad default that I thought I filed a ticket about. By default we should only
return the apps of the current user. Then there should be options to list all accessible apps
(apps with view-acl), and then finally all apps across all users.
How about adding a field (enum - visibility - own, viewable, all) in GetApplicationsRequest
to capture this, the default for this could be "own". 

bq. This does break the existing getApplications() API which we can leave as is - in any case,
information about all the apps that are not accessible is completely blacked out, so it just
serves as a simple listing.
Instead of adding another API for getApplications with the restricted default view, how about
changing existing GetApplicationsRequest.newInstance() methods to set the visibility to ALL?
That way, we wouldn't change the behavior. We could add newInstance methods to capture rest
of the fields - currently, we don't have newInstance methods for user, queue, etc. 

> Allow users to annotate an application with multiple tags
> ---------------------------------------------------------
>                 Key: YARN-1399
>                 URL: https://issues.apache.org/jira/browse/YARN-1399
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
> Nowadays, when submitting an application, users can fill the applicationType field to
facilitate searching it later. IMHO, it's good to accept multiple tags to allow users to describe
their applications in multiple aspects, including the application type. Then, searching by
tags may be more efficient for users to reach their desired application collection. It's pretty
much like the tag system of online photo/video/music and etc.

This message was sent by Atlassian JIRA

View raw message