You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (Updated) (JIRA)" <ji...@apache.org> on 2011/10/27 21:12:32 UTC
[jira] [Updated] (HBASE-4688) Make it so can run PE w/o having to
put hbase jar on CLASSPATH
[ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-4688:
-------------------------
Attachment: pe.txt
> Make it so can run PE w/o having to put hbase jar on CLASSPATH
> --------------------------------------------------------------
>
> Key: HBASE-4688
> URL: https://issues.apache.org/jira/browse/HBASE-4688
> Project: HBase
> Issue Type: Bug
> Reporter: stack
> Attachments: pe.txt
>
>
> I need this:
> {code}
> diff --git a/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java b/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
> index 3982eff..ef47d0d 100644
> --- a/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
> +++ b/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
> @@ -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);
> }
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira