hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Robertson (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-5276) PerformanceEvaluation does not set the correct classpath for MR because it lives in the test jar
Date Thu, 26 Jan 2012 08:33:40 GMT

     [ https://issues.apache.org/jira/browse/HBASE-5276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tim Robertson resolved HBASE-5276.

       Resolution: Fixed
    Fix Version/s: 0.92.1

Was an issue discovered in the CDH distribution that was already fixed in the Apache codestream.
 Closing this issue and opened one in the CDH jira.
> PerformanceEvaluation does not set the correct classpath for MR because it lives in the
test jar
> ------------------------------------------------------------------------------------------------
>                 Key: HBASE-5276
>                 URL: https://issues.apache.org/jira/browse/HBASE-5276
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.90.4
>            Reporter: Tim Robertson
>            Priority: Minor
>             Fix For: 0.92.1
> Note: This was discovered running the CDH version hbase-0.90.4-cdh3u2
> Running the PerformanceEvaluation as follows:
>   $HADOOP_HOME/bin/hadoop org.apache.hadoop.hbase.PerformanceEvaluation scan 5
> fails because the MR tasks do not get the HBase jar on the CP, and thus hit ClassNotFoundExceptions.
> The job gets the following only:
>   file:/Users/tim/dev/hadoop/hbase-0.90.4-cdh3u2/hbase-0.90.4-cdh3u2-tests.jar
>   file:/Users/tim/dev/hadoop/hadoop-0.20.2-cdh3u2/hadoop-core-0.20.2-cdh3u2.jar
>   file:/Users/tim/dev/hadoop/hbase-0.90.4-cdh3u2/lib/zookeeper-3.3.3-cdh3u2.jar
> The RowCounter etc all work because they live in the HBase jar, not the test jar, and
they get the following 
>   file:/Users/tim/dev/hadoop/hbase-0.90.4-cdh3u2/lib/guava-r06.jar
>   file:/Users/tim/dev/hadoop/hadoop-0.20.2-cdh3u2/hadoop-core-0.20.2-cdh3u2.jar
>   file:/Users/tim/dev/hadoop/hbase-0.90.4-cdh3u2/hbase-0.90.4-cdh3u2.jar
>   file:/Users/tim/dev/hadoop/hbase-0.90.4-cdh3u2/lib/zookeeper-3.3.3-cdh3u2.jar
> Presumably this relates to 
>   job.setJarByClass(PerformanceEvaluation.class);
>   ...
>   TableMapReduceUtil.addDependencyJars(job);
> A (cowboy) workaround to run PE is to unpack the jars, and copy the PerformanceEvaluation*
classes building a patched jar.

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


View raw message