Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7069 [Umbrella] YARN Resource Profiles phase#2 enhancements
  3. YARN-7596

Resource configs not parsed correctly in MapReduce for resources with dot

    XMLWordPrintableJSON

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.

      Attachments

        1. YARN-7596.001.patch
          2 kB
          Jonathan Hung

        Activity

          People

            jhung Jonathan Hung
            jhung Jonathan Hung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: