org.springframework.yarn.am.container
Interface ContainerResolver
public interface ContainerResolver
Interface for implementations which knows how to resolve
container locations. This is meant for similar concepts found
from a map/reduce framework to execute containers as close for the
input as possible. For example if task main purpose is to access
HDFS resources it will be much faster if those containers can be
executed on a same host where HDFS file/block is physically placed.
- Author:
- Janne Valkealahti
Method Summary |
java.util.List<org.apache.hadoop.yarn.api.records.ResourceRequest> |
resolve(java.util.Map<java.lang.String,java.lang.Object> parameters)
Resolve resource requests. |
resolve
java.util.List<org.apache.hadoop.yarn.api.records.ResourceRequest> resolve(java.util.Map<java.lang.String,java.lang.Object> parameters)
- Resolve resource requests.
- Parameters:
parameters
- the parameters
- Returns:
- the list of
ResourceRequest
s