|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceLocalizer
ResourceLocalizer
is a simple interface used during
a container launch to determine a localized resources. This
loosely follows requirements for YARN's file distribution of
LocalResource
instances.
SmartResourceLocalizer
Method Summary | |
---|---|
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
getResources()
Gets a map of LocalResource instances. |
Method Detail |
---|
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> getResources()
LocalResource
instances. Underlying
instances of LocalResource
s needs to be fully
initialised including resource size and timestamp.
Calling this method should do all needed preparation work
needed to return LocalResource
s.
LocalResource
instances
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |