public interface MultiResourceLocalizer extends ResourceLocalizer
ResourceLocalizer
adding functionality to
use multiple ResourceLocalizer
s.Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
getResources(java.lang.String id)
Gets a map of
LocalResource instances identified by
an arbitrary id. |
getResources
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> getResources(java.lang.String id)
LocalResource
instances identified by
an arbitrary id. Passing null
or unknown id
will fall back to base method ResourceLocalizer.getResources()
.id
- identifier for local resourcesLocalResource
instancesResourceLocalizer.getResources()