Modifier and Type | Method and Description |
---|---|
static void |
MRApps.setupDistributedCache(Configuration conf,
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,
String pattern) |
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) |
abstract void |
ContainerLaunchContext.setLocalResources(Map<String,LocalResource> localResources)
Set
LocalResource required by the container. |
Modifier and Type | Class and Description |
---|---|
class |
LocalResourcePBImpl |
Modifier and Type | Method and Description |
---|---|
Map<String,LocalResource> |
ContainerLaunchContextPBImpl.getLocalResources() |
Modifier and Type | Method and Description |
---|---|
void |
ContainerLaunchContextPBImpl.setLocalResources(Map<String,LocalResource> localResources) |
Modifier and Type | Method and Description |
---|---|
LocalResource |
ResourceLocalizationSpec.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceLocalizationSpec.setResource(LocalResource rsrc) |
Modifier and Type | Method and Description |
---|---|
LocalResource |
ResourceLocalizationSpecPBImpl.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceLocalizationSpecPBImpl.setResource(LocalResource rsrc) |
Modifier and Type | Method and Description |
---|---|
LocalResource |
LocalResourceStatus.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
LocalResourceStatus.setResource(LocalResource resource) |
Modifier and Type | Method and Description |
---|---|
LocalResource |
LocalResourceStatusPBImpl.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
LocalResourceStatusPBImpl.setResource(LocalResource resource) |
Modifier and Type | Class and Description |
---|---|
class |
LocalResourceRequest |
Constructor and Description |
---|
LocalResourceRequest(LocalResource resource)
Wrap API resource to match against cache of localized resources.
|
Modifier and Type | Method and Description |
---|---|
static ResourceLocalizationSpec |
NodeManagerBuilderUtils.newResourceLocalizationSpec(LocalResource rsrc,
Path path) |
Modifier and Type | Method and Description |
---|---|
static LocalResource |
BuilderUtils.newLocalResource(URI uri,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp) |
static LocalResource |
BuilderUtils.newLocalResource(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
static ContainerLaunchContext |
BuilderUtils.newContainerLaunchContext(Map<String,LocalResource> localResources,
Map<String,String> environment,
List<String> commands,
Map<String,ByteBuffer> serviceData,
ByteBuffer tokens,
Map<ApplicationAccessType,String> acls) |
Constructor and Description |
---|
FSDownload(FileContext files,
UserGroupInformation ugi,
Configuration conf,
Path destDirPath,
LocalResource resource) |
Copyright © 2013 Apache Software Foundation. All rights reserved.