public class JarUtils extends Object
Constructor and Description |
---|
JarUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addDependencyJars(org.apache.hadoop.conf.Configuration conf,
List<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, List<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 © 2023 The Apache Software Foundation. All rights reserved.