You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2014/02/06 22:36:24 UTC
[jira] [Updated] (HBASE-10363) [0.94] TestInputSampler and
TestInputSamplerTool fail under hadoop 2.0/23 profiles.
[ https://issues.apache.org/jira/browse/HBASE-10363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl updated HBASE-10363:
----------------------------------
Attachment: 10363.txt
Here's a patch.
Checks whether TaskAttemptContext is an interface first (so there's no performance penalty in Hadoop 1.x). If it is it tries to create a TaskAttemptContextImpl (Hadoop 2.x).
> [0.94] TestInputSampler and TestInputSamplerTool fail under hadoop 2.0/23 profiles.
> -----------------------------------------------------------------------------------
>
> Key: HBASE-10363
> URL: https://issues.apache.org/jira/browse/HBASE-10363
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.94.15
> Reporter: Jonathan Hsieh
> Priority: Critical
> Fix For: 0.94.17
>
> Attachments: 10363.txt
>
>
> From tip of 0.94 and from 0.94.15.
> {code}
> jon@swoop:~/proj/hbase-0.94$ mvn clean test -Dhadoop.profile=2.0 -Dtest=TestInputSampler,TestInputSamplerTool -PlocalTests
> ...
> Running org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestInputSamplerTool
> Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 3.718 sec <<< FAILURE!
> Running org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestInputSampler
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.666 sec <<< FAILURE!
> Results :
> Tests in error:
> testSplitInterval(org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestInputSamplerTool): Failed getting constructor
> testSplitRamdom(org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestInputSamplerTool): Failed getting constructor
> testSplitSample(org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestInputSamplerTool): Failed getting constructor
> testSplitSampler(org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestInputSampler): Failed getting constructor
> testIntervalSampler(org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestInputSampler): Failed getting constructor
> Tests run: 6, Failures: 0, Errors: 5, Skipped: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)