Details
-
Sub-task
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Similar to YARN-7383, when parsing mapreduce configs for resource values, right now the regex omits dots. (See
public static List<ResourceInformation> getRequestedResourcesFromConfig( Configuration configuration, String prefix) { List<ResourceInformation> result = new ArrayList<>(); Map<String, String> customResourcesMap = configuration .getValByRegex("^" + Pattern.quote(prefix) + "[^.]+$");
in ResourceUtils.java)
Since YARN-7442 introduces a regex for resource names, we can use that to find mapreduce resource configs.