org.apache.pig.backend.hadoop.accumulo
Class Utils
java.lang.Object
org.apache.pig.backend.hadoop.accumulo.Utils
public class Utils
- extends Object
Constructor Summary |
Utils()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
addDependencyJars
public static void addDependencyJars(org.apache.hadoop.conf.Configuration conf,
Class<?>... classes)
throws IOException
- Throws:
IOException
jarFinderGetJar
public static String jarFinderGetJar(Class klass)
- Returns the full path to the Jar containing the class. It always return a
JAR.
- Parameters:
klass
- class.
- Returns:
- path to the Jar containing the class.
jarDir
public static void jarDir(File dir,
String relativePath,
ZipOutputStream zos)
throws IOException
- Throws:
IOException
Copyright © 2007-2012 The Apache Software Foundation