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
IOExceptionpublic static String jarFinderGetJar(Class klass)
klass - class.public static void jarDir(File dir, String relativePath, ZipOutputStream zos) throws IOException
IOExceptionCopyright © 2007-2017 The Apache Software Foundation