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