public String getResourceLocalName(final String resourceName) {
    String name = config.get(String.format(RESOURCE_LOCAL_NAME, resourceName), resourceName);
    return name;
  }
LocalizerResourceConfig is intended to manage/fetch the config values
for the yarn localizer resource(s) from the configuration.

There are 4 config values
  yarn.resources.&lt;resourceName&gt;.path
    (Required) The path for fetching the resource for localization,
    e.g. http://hostname.com/test.
  yarn.resources.&lt;resourceName&gt;.local.name
    (Optional) The local name used for the localized resource.
    If not set, the default one will be the &lt;resourceName&gt; from the config key.
  yarn.resources.&lt;resourceName&gt;.local.type
    (Optional) The value value is a string format of {@link LocalResourceType}:
    ARCHIVE, FILE, PATTERN.
    If not set, the default value is FILE.
  yarn.resources.&lt;resourceName&gt;.local.visibility
    (Optional) The valid value is a string format of {@link LocalResourceVisibility}:
    PUBLIC, PRIVATE, or APPLICATION.
    If not set, the default value is is APPLICATION.
samza-yarn/src/main/java/org/apache/samza/job/yarn/LocalizerResourceConfig.java