|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.mapreduce.lib.BlurMapReduceUtil
public class BlurMapReduceUtil
This utility code was taken from HBase to locate classes and the jars files to add to the MapReduce Job.
Constructor Summary | |
---|---|
BlurMapReduceUtil()
|
Method Summary | |
---|---|
static void |
addAllJarsInBlurLib(org.apache.hadoop.conf.Configuration conf)
Adds all the jars in the same path as the blur jar files. |
static void |
addDependencyJars(org.apache.hadoop.conf.Configuration conf,
Class<?>... classes)
Add the jars containing the given classes to the job's configuration such that JobClient will ship them to the cluster and add them to the DistributedCache. |
static void |
addDependencyJars(org.apache.hadoop.mapreduce.Job job)
Add the Blur dependency jars as well as jars for any of the configured job classes to the job configuration, so that JobClient will ship them to the cluster and add them to the DistributedCache. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlurMapReduceUtil()
Method Detail |
---|
public static void addDependencyJars(org.apache.hadoop.mapreduce.Job job) throws IOException
IOException
public static void addAllJarsInBlurLib(org.apache.hadoop.conf.Configuration conf) throws IOException
conf
-
IOException
public static void addDependencyJars(org.apache.hadoop.conf.Configuration conf, Class<?>... classes) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |