public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static void |
addDependencyJars(org.apache.hadoop.conf.Configuration conf,
Class<?>... classes) |
static void |
jarDir(File dir,
String relativePath,
ZipOutputStream zos) |
static String |
jarFinderGetJar(Class klass)
Returns the full path to the Jar containing the class.
|
public static void addDependencyJars(org.apache.hadoop.conf.Configuration conf, Class<?>... classes) throws IOException
IOException
public static String jarFinderGetJar(Class klass)
klass
- class.public static void jarDir(File dir, String relativePath, ZipOutputStream zos) throws IOException
IOException
Copyright © 2007-2012 The Apache Software Foundation