Modifier and Type | Method and Description |
---|---|
abstract URL |
LocalResource.getResource()
Get the location of the resource to be localized.
|
static URL |
URL.newInstance(String scheme,
String host,
int port,
String file) |
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) |
abstract void |
LocalResource.setResource(URL resource)
Set location of the resource to be localized.
|
Modifier and Type | Class and Description |
---|---|
class |
URLPBImpl |
Modifier and Type | Method and Description |
---|---|
URL |
LocalResourcePBImpl.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
LocalResourcePBImpl.setResource(URL resource) |
Modifier and Type | Method and Description |
---|---|
URL |
ResourceLocalizationSpec.getDestinationDirectory() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceLocalizationSpec.setDestinationDirectory(URL destinationDirectory) |
Modifier and Type | Method and Description |
---|---|
URL |
ResourceLocalizationSpecPBImpl.getDestinationDirectory() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceLocalizationSpecPBImpl.setDestinationDirectory(URL destinationDirectory) |
Modifier and Type | Method and Description |
---|---|
URL |
LocalResourceStatus.getLocalPath() |
Modifier and Type | Method and Description |
---|---|
void |
LocalResourceStatus.setLocalPath(URL localPath) |
Modifier and Type | Method and Description |
---|---|
URL |
LocalResourceStatusPBImpl.getLocalPath() |
Modifier and Type | Method and Description |
---|---|
void |
LocalResourceStatusPBImpl.setLocalPath(URL localPath) |
Modifier and Type | Method and Description |
---|---|
URL |
LocalResourceRequest.getResource() |
Modifier and Type | Method and Description |
---|---|
void |
LocalResourceRequest.setResource(URL resource) |
Modifier and Type | Method and Description |
---|---|
static URL |
BuilderUtils.newURL(String scheme,
String host,
int port,
String file) |
Modifier and Type | Method and Description |
---|---|
static LocalResource |
BuilderUtils.newLocalResource(URL url,
LocalResourceType type,
LocalResourceVisibility visibility,
long size,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
static URL |
ConverterUtils.getYarnUrlFromPath(Path path) |
static URL |
ConverterUtils.getYarnUrlFromURI(URI uri) |
Modifier and Type | Method and Description |
---|---|
static Path |
ConverterUtils.getPathFromYarnURL(URL url)
return a hadoop path from a given url
|
Copyright © 2013 Apache Software Foundation. All rights reserved.