public class RelocalizationUtils extends Object
| Constructor and Description |
|---|
RelocalizationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addUrlsToClassPath(List<URL> urls) |
static byte[] |
getLocalSha(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf) |
static byte[] |
getResourceSha(URI uri,
org.apache.hadoop.conf.Configuration conf) |
static List<URL> |
processAdditionalResources(Map<String,URI> additionalResources,
org.apache.hadoop.conf.Configuration conf) |
public static List<URL> processAdditionalResources(Map<String,URI> additionalResources, org.apache.hadoop.conf.Configuration conf) throws IOException, org.apache.tez.dag.api.TezException
IOExceptionorg.apache.tez.dag.api.TezExceptionpublic static byte[] getLocalSha(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic static byte[] getResourceSha(URI uri, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionCopyright © 2015 Apache Software Foundation. All rights reserved.