Author: rvs
Date: Tue Oct 4 02:31:56 2011
New Revision: 1178676
URL: http://svn.apache.org/viewvc?rev=1178676&view=rev
Log:
Bringing to .22
Modified:
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/pom.xml
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/system/TestLoadAndVerify.java
Modified:
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/pom.xml?rev=1178676&r1=1178675&r2=1178676&view=diff
==============================================================================
---
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/pom.xml
(original)
+++
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/pom.xml
Tue Oct 4 02:31:56 2011
@@ -31,20 +31,20 @@
<name>hbasesmoke</name>
<dependencies>
- <dependency>
+ <dependency>
<groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-core</artifactId>
- <version>0.20.2-cdh3u2-SNAPSHOT</version>
+ <artifactId>hadoop-mapred</artifactId>
+ <version>0.22.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
- <version>0.90.3-cdh3u2-SNAPSHOT</version>
+ <version>0.90.4</version>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase</artifactId>
- <version>0.90.3-cdh3u2-SNAPSHOT</version>
+ <version>0.90.4</version>
<type>test-jar</type>
</dependency>
</dependencies>
Modified:
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/system/TestLoadAndVerify.java
URL:
http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/system/TestLoadAndVerify.java?rev=1178676&r1=1178675&r2=1178676&view=diff
==============================================================================
---
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/system/TestLoadAndVerify.java
(original)
+++
incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hbase/src/main/groovy/org/apache/bigtop/itest/system/TestLoadAndVerify.java
Tue Oct 4 02:31:56 2011
@@ -49,6 +49,7 @@ import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
+import org.apache.hadoop.mapreduce.TaskCounter;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
@@ -290,8 +291,7 @@ public class TestLoadAndVerify {
FileOutputFormat.setOutputPath(job, outputDir);
assertTrue(job.waitForCompletion(true));
- long numOutputRecords = job.getCounters().findCounter(
-
org.apache.hadoop.mapred.Task.Counter.REDUCE_OUTPUT_RECORDS).getValue();
+ long numOutputRecords =
job.getCounters().findCounter(TaskCounter.REDUCE_OUTPUT_RECORDS).getValue();
assertEquals(0, numOutputRecords);
}