org.apache.tez.dag.utils
Class RelocalizationUtils

java.lang.Object
  extended by org.apache.tez.dag.utils.RelocalizationUtils

public class RelocalizationUtils
extends Object


Constructor Summary
RelocalizationUtils()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelocalizationUtils

public RelocalizationUtils()
Method Detail

processAdditionalResources

public static List<URL> processAdditionalResources(Map<String,URI> additionalResources,
                                                   org.apache.hadoop.conf.Configuration conf)
                                            throws IOException,
                                                   org.apache.tez.dag.api.TezException
Throws:
IOException
org.apache.tez.dag.api.TezException

addUrlsToClassPath

public static void addUrlsToClassPath(List<URL> urls)

getLocalSha

public static byte[] getLocalSha(org.apache.hadoop.fs.Path path,
                                 org.apache.hadoop.conf.Configuration conf)
                          throws IOException
Throws:
IOException

getResourceSha

public static byte[] getResourceSha(URI uri,
                                    org.apache.hadoop.conf.Configuration conf)
                             throws IOException
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All rights reserved.