hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1207763 - in /hbase/trunk: pom.xml src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
Date Tue, 29 Nov 2011 06:04:18 GMT
Author: stack
Date: Tue Nov 29 06:04:17 2011
New Revision: 1207763

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

Modified:
    hbase/trunk/pom.xml
    hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java

Modified: hbase/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1207763&r1=1207762&r2=1207763&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Tue Nov 29 06:04:17 2011
@@ -1739,7 +1739,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>
@@ -1793,9 +1793,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/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java?rev=1207763&r1=1207762&r2=1207763&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
(original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat.java
Tue Nov 29 06:04:17 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