public String getYarnResourceManagerEndpoint() {
    String api = get(CONFIG_YARN_RESOURCE_MANAGER_API_ENDPOINT);
    if (api == null) {
      api = CONFIG_DEFAULT_YARN_RESOURCE_MANAGER_API_ENDPOINT;
    }
    return api;
  }
Returns the configured YARN Resource Manager REST API endpoint.
@see YarnJobResourceConfig#CONFIG_YARN_RESOURCE_MANAGER_API_ENDPOINT
@return the ResourceManager host and port on which the REST API is exposed.
samza-rest/src/main/java/org/apache/samza/rest/resources/YarnJobResourceConfig.java