hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4688) Make it so can run PE w/o having to put hbase jar on CLASSPATH
Date Thu, 27 Oct 2011 21:10:32 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137559#comment-13137559
] 

Hudson commented on HBASE-4688:
-------------------------------

Integrated in HBase-TRUNK #2374 (See [https://builds.apache.org/job/HBase-TRUNK/2374/])
    HBASE-4688 Make it so can run PE w/o having to put hbase jar on CLASSPATH

stack : 
Files : 
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java

                
> 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

        

Mime
View raw message