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 "Peter Bacsko (Jira)" <ji...@apache.org> on 2021/05/19 09:39:00 UTC
[jira] [Created] (YARN-10779) Add option to disable lowecase
conversion in GetApplicationsRequestPBImpl and
ApplicationSubmissionContextPBImpl
Peter Bacsko created YARN-10779:
-----------------------------------
Summary: Add option to disable lowecase conversion in GetApplicationsRequestPBImpl and ApplicationSubmissionContextPBImpl
Key: YARN-10779
URL: https://issues.apache.org/jira/browse/YARN-10779
Project: Hadoop YARN
Issue Type: Task
Components: resourcemanager
Reporter: Peter Bacsko
Assignee: Peter Bacsko
In both {{GetApplicationsRequestPBImpl}} and {{ApplicationSubmissionContextPBImpl}}, there is a forced lowercase conversion:
{noformat}
checkTags(tags);
// Convert applicationTags to lower case and add
this.applicationTags = new TreeSet<>();
for (String tag : tags) {
this.applicationTags.add(StringUtils.toLowerCase(tag));
}
}
{noformat}
However, we encountered some cases where this is not desirable for "userid" tags.
Proposed solution: since both classes are pretty low-level and can be often instantiated, a {{Configuration}} object which loads {{yarn-site.xml}} should be cached inside them. A new property should be created which tells whether lowercase conversion should occur or not.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org