Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords | |
org.apache.hadoop.yarn.api.records |
Modifier and Type | Method and Description |
---|---|
abstract Map<String,LocalResource> |
ResourceLocalizationRequest.getLocalResources()
Get
LocalResource required 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
LocalResource required 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
LocalResource required by the container. |
Copyright © 2022 Apache Software Foundation. All rights reserved.