[ https://issues.apache.org/jira/browse/HBASE-5861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13260077#comment-13260077 ]
Lars Hofhansl edited comment on HBASE-5861 at 4/24/12 12:07 AM: ---------------------------------------------------------------- @Jon: Tried that. For some reason I get 100's of compilation errors complaining about missing hadoop packages. was (Author: lhofhansl): @Jon: Tried that. For some reason I can 100's of compilation errors complaining about missing hadoop packages. > Hadoop 23 compile broken due to tests introduced in HBASE-5064 > --------------------------------------------------------------- > > Key: HBASE-5861 > URL: https://issues.apache.org/jira/browse/HBASE-5861 > Project: HBase > Issue Type: Bug > Components: test > Affects Versions: 0.94.0, 0.96.0 > Reporter: Jonathan Hsieh > Assignee: Jonathan Hsieh > Priority: Blocker > Fix For: 0.94.0, 0.96.0 > > Attachments: 5861.txt, hbase-5861-jon.patch > > > When attempting to compile HBase 0.94rc1 against hadoop 23, I got this set of > compilation error messages: > {code} > jon@swoop:~/proj/hbase-0.94$ mvn clean test -Dhadoop.profile=23 -DskipTests > ... > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 18.926s > [INFO] Finished at: Mon Apr 23 10:38:47 PDT 2012 > [INFO] Final Memory: 55M/555M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile > (default-testCompile) on project hbase: Compilation failure: Compilation > failure: > [ERROR] > /home/jon/proj/hbase-0.94/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java:[147,46] > org.apache.hadoop.mapreduce.JobContext is abstract; cannot be instantiated > [ERROR] > [ERROR] > /home/jon/proj/hbase-0.94/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java:[153,29] > org.apache.hadoop.mapreduce.JobContext is abstract; cannot be instantiated > [ERROR] > [ERROR] > /home/jon/proj/hbase-0.94/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java:[194,46] > org.apache.hadoop.mapreduce.JobContext is abstract; cannot be instantiated > [ERROR] > [ERROR] > /home/jon/proj/hbase-0.94/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java:[206,29] > org.apache.hadoop.mapreduce.JobContext is abstract; cannot be instantiated > [ERROR] > [ERROR] > /home/jon/proj/hbase-0.94/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java:[213,29] > org.apache.hadoop.mapreduce.JobContext is abstract; cannot be instantiated > [ERROR] > [ERROR] > /home/jon/proj/hbase-0.94/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java:[226,29] > org.apache.hadoop.mapreduce.TaskAttemptContext is abstract; cannot be > instantiated > [ERROR] -> [Help 1] > {code} > Upon further investigation this issue is due to code introduced in HBASE-5064 > and is also present in trunk. -- 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