XMLWordPrintableJSON

    Details

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      I think we should limit format of resource type name. Otherwise it could be very hard to update in the future after release.

      I propose to have format:

      [a-zA-Z0-9][a-zA-Z0-9_.-/]*
      

      Adding this check to setResourceInformation might affect performance a lot. Probably we can add to ResourceUtils#initializeResourcesMap when resource types are loaded from config file.

      Daniel Templeton/Sunil G.

        Attachments

        1. YARN-7442.001.patch
          4 kB
          Wangda Tan
        2. YARN-7442.002.patch
          4 kB
          Wangda Tan
        3. YARN-7442.003.patch
          6 kB
          Wangda Tan

          Activity

            People

            • Assignee:
              leftnoteasy Wangda Tan
              Reporter:
              leftnoteasy Wangda Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: