HBASE-4688 Make it so can run PE w/o having to put hbase jar on CLASSPATH
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1189945 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9f2204fbe3
commit
3f2ddc2b17
|
@ -570,6 +570,9 @@ public class PerformanceEvaluation {
|
|||
TextOutputFormat.setOutputPath(job, new Path(inputDir,"outputs"));
|
||||
|
||||
TableMapReduceUtil.addDependencyJars(job);
|
||||
// Add a Class from the hbase.jar so it gets registered too.
|
||||
TableMapReduceUtil.addDependencyJars(job.getConfiguration(),
|
||||
org.apache.hadoop.hbase.util.Bytes.class);
|
||||
job.waitForCompletion(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue