hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hung (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7596) Resource configs not parsed correctly in MapReduce for resources with dot
Date Fri, 01 Dec 2017 19:02:00 GMT
Jonathan Hung created YARN-7596:
-----------------------------------

             Summary: Resource configs not parsed correctly in MapReduce for resources with
dot
                 Key: YARN-7596
                 URL: https://issues.apache.org/jira/browse/YARN-7596
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Jonathan Hung
            Assignee: Jonathan Hung


Similar to YARN-7383, when parsing mapreduce configs for resource values, right now the regex
omits dots. (See {noformat}  public static List<ResourceInformation> getRequestedResourcesFromConfig(
      Configuration configuration, String prefix) {
    List<ResourceInformation> result = new ArrayList<>();
    Map<String, String> customResourcesMap = configuration
        .getValByRegex("^" + Pattern.quote(prefix) + "[^.]+$");{noformat} in ResourceUtils.java)

Since YARN-7442 introduces a regex for resource names, we can use that to find mapreduce resource
configs.





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message