public class ContainerLocalizationRequestEvent extends ContainerLocalizationEvent
ResourceLocalizationService localize
a set of resources for the given container. This is generated by
ContainerImpl during container initialization.| Constructor and Description |
|---|
ContainerLocalizationRequestEvent(Container c,
Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility,Collection<LocalResourceRequest>> rsrc)
Event requesting the localization of the rsrc.
|
| Modifier and Type | Method and Description |
|---|---|
Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility,Collection<LocalResourceRequest>> |
getRequestedResources() |
getContainerpublic ContainerLocalizationRequestEvent(Container c, Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility,Collection<LocalResourceRequest>> rsrc)
c - Containerrsrc - LocalResourceRequests mappublic Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility,Collection<LocalResourceRequest>> getRequestedResources()
Copyright © 2022 Apache Software Foundation. All rights reserved.