| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | |
| org.apache.hadoop.yarn.client.api | |
| org.apache.hadoop.yarn.service.client | Package org.apache.hadoop.yarn.service.client contains classes
 for YARN Services Client API. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Map<String,LocalResource> | ResourceLocalizationRequest. getLocalResources()Get  LocalResourcerequired by the container. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ResourceLocalizationRequest | ResourceLocalizationRequest. newInstance(ContainerId containerId,
           Map<String,LocalResource> localResources) | 
| Modifier and Type | Method and Description | 
|---|---|
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp) | 
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp,
           boolean shouldBeUploadedToSharedCache) | 
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp,
           String pattern) | 
| static LocalResource | LocalResource. newInstance(URL url,
           LocalResourceType type,
           LocalResourceVisibility visibility,
           long size,
           long timestamp,
           String pattern,
           boolean shouldBeUploadedToSharedCache) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Map<String,LocalResource> | ContainerLaunchContext. getLocalResources()Get  LocalResourcerequired by the container. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ContainerLaunchContext | ContainerLaunchContext. newInstance(Map<String,LocalResource> localResources,
           Map<String,String> environment,
           List<String> commands,
           Map<String,ByteBuffer> serviceData,
           ByteBuffer tokens,
           Map<ApplicationAccessType,String> acls) | 
| static ContainerLaunchContext | ContainerLaunchContext. newInstance(Map<String,LocalResource> localResources,
           Map<String,String> environment,
           List<String> commands,
           Map<String,ByteBuffer> serviceData,
           ByteBuffer tokens,
           Map<ApplicationAccessType,String> acls,
           ContainerRetryContext containerRetryContext) | 
| abstract void | ContainerLaunchContext. setLocalResources(Map<String,LocalResource> localResources)Set  LocalResourcerequired by the container. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | NMClient. localize(ContainerId containerId,
        NodeId nodeId,
        Map<String,LocalResource> localResources)Localize resources for a container. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Path | ServiceClient. addJarResource(String serviceName,
              Map<String,LocalResource> localResources) | 
Copyright © 2023 Apache Software Foundation. All rights reserved.