hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1189946 - /hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
Date Thu, 27 Oct 2011 19:14:06 GMT
Author: stack
Date: Thu Oct 27 19:14:06 2011
New Revision: 1189946

URL: http://svn.apache.org/viewvc?rev=1189946&view=rev
Log:
HBASE-4688 Make it so can run PE w/o having to put hbase jar on CLASSPATH

Modified:
    hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java

Modified: hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java?rev=1189946&r1=1189945&r2=1189946&view=diff
==============================================================================
--- hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java (original)
+++ hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java Thu
Oct 27 19:14:06 2011
@@ -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);
   }
 



Mime
View raw message