hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1399) Allow users to annotate an application with multiple tags
Date Wed, 04 Dec 2013 18:38:35 GMT

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

Zhijie Shen commented on YARN-1399:

bq. I would stick to exact tag match. Case insensitive seems reasonable, though I would implement
it by lowercase or upper case tags on arrival and when querying. Then the matching is the

It's not just query, but may be related to the display as well. For example, when showing
a list of applications, it is not user-friendly to show the applications are "MapReduce",
others are "MAPREDUCE", "mapreduce" and so on. And IMHO, the cheapest way may be converting
the string to one case when accepting it, because the app's meta-info is written once, but
read multiple times.

bq. Regarding symbols, what is the harm in supporting them?

I've no immediate idea about  what the harm will be, and reasonable users will seldom use
these special chars. However, this constraint is what I feel when I write the tags for my
online album, bookmarks and etc. One possible problem I can foresee is that users can write
"<h1>MapReduce</h1>" to force the display on the web page. Of course, we can escape
the string before composing the html file, but we need to take care of it.

bq. One thing we didn't mentioned before, on querying I would support only OR, then the client
must do any further filtering if it wants to do AND.

It's a good point. Or we can give an option to allow users to choose between "AND" and "OR"

In general, I've just raised a few issues that I've already in mind. However, as users are
free to write the tags (or the existing text meta-info of the app),  we should expect there
will be more issues that we still haven't thought about.

> 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