hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1208278 - in /hbase/branches/0.92: CHANGES.txt pom.xml src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
Date Wed, 30 Nov 2011 04:59:52 GMT
Author: stack
Date: Wed Nov 30 04:59:51 2011
New Revision: 1208278

URL: http://svn.apache.org/viewvc?rev=1208278&view=rev
Log:
HBASE-4885 Building against Hadoop 0.23 uses out-of-date MapReduce artifacts

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/pom.xml
    hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1208278&r1=1208277&r2=1208278&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Wed Nov 30 04:59:51 2011
@@ -450,6 +450,8 @@ Release 0.92.0 - Unreleased
    HBASE-4878  Master crash when splitting hlog may cause data loss (Chunhui Shen)
    HBASE-4889  HRegionInfo.isMetaTable() should be true for -ROOT- regions
                (Daniel Gómez Ferro)
+   HBASE-4885  Building against Hadoop 0.23 uses out-of-date MapReduce artifacts
+               (Tom White)
 
   TESTS
    HBASE-4492  TestRollingRestart fails intermittently

Modified: hbase/branches/0.92/pom.xml
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/pom.xml?rev=1208278&r1=1208277&r2=1208278&view=diff
==============================================================================
--- hbase/branches/0.92/pom.xml (original)
+++ hbase/branches/0.92/pom.xml Wed Nov 30 04:59:51 2011
@@ -1732,7 +1732,7 @@
         </dependency>
         <dependency>
           <groupId>org.apache.hadoop</groupId>
-          <artifactId>hadoop-mapred</artifactId>
+          <artifactId>hadoop-mapreduce-client-common</artifactId>
           <version>${hadoop.version}</version>
           <optional>true</optional>
           <exclusions>
@@ -1786,9 +1786,32 @@
         </dependency>
         <dependency>
           <groupId>org.apache.hadoop</groupId>
-          <artifactId>hadoop-mapred-test</artifactId>
+          <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
           <version>${hadoop.version}</version>
           <optional>true</optional>
+          <type>test-jar</type>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-mapreduce-client-app</artifactId>
+          <version>${hadoop.version}</version>
+          <optional>true</optional>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-mapreduce-client-hs</artifactId>
+          <version>${hadoop.version}</version>
+          <optional>true</optional>
+          <scope>test</scope>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.hadoop</groupId>
+          <artifactId>hadoop-yarn-server-tests</artifactId>
+          <version>${hadoop.version}</version>
+          <optional>true</optional>
+          <type>test-jar</type>
           <scope>test</scope>
         </dependency>
       </dependencies>

Modified: hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java?rev=1208278&r1=1208277&r2=1208278&view=diff
==============================================================================
--- hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
(original)
+++ hbase/branches/0.92/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
Wed Nov 30 04:59:51 2011
@@ -225,7 +225,7 @@ public class TestHFileOutputFormat  {
       Class<?> clazz =
         Class.forName("org.apache.hadoop.mapreduce.task.TaskAttemptContextImpl");
       Constructor<?> c = clazz.
-          getConstructor(job.getConfiguration().getClass(), TaskAttemptID.class);
+          getConstructor(Configuration.class, TaskAttemptID.class);
       context = (TaskAttemptContext)c.newInstance(job.getConfiguration(), id);
     } else {
       context = org.apache.hadoop.hbase.mapreduce.hadoopbackport.InputSampler.



Mime
View raw message