incubator-crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject [1/3] git commit: Fix HBase integration tests to work w/Hadoop 2.x
Date Wed, 20 Feb 2013 03:46:36 GMT
Fix HBase integration tests to work w/Hadoop 2.x

Signed-off-by: Josh Wills <jwills@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-crunch/commit/8c2c787a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-crunch/tree/8c2c787a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-crunch/diff/8c2c787a

Branch: refs/heads/apache-crunch-0.5-incubating
Commit: 8c2c787a01872a0525cf39e46b813d65d327d769
Parents: e052b88
Author: Josh Wills <jwills@apache.org>
Authored: Tue Feb 12 17:00:29 2013 -0800
Committer: Josh Wills <jwills@apache.org>
Committed: Tue Feb 12 17:06:07 2013 -0800

----------------------------------------------------------------------
 .../apache/crunch/io/hbase/WordCountHBaseIT.java   |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/8c2c787a/crunch-hbase/src/it/java/org/apache/crunch/io/hbase/WordCountHBaseIT.java
----------------------------------------------------------------------
diff --git a/crunch-hbase/src/it/java/org/apache/crunch/io/hbase/WordCountHBaseIT.java b/crunch-hbase/src/it/java/org/apache/crunch/io/hbase/WordCountHBaseIT.java
index 4271fad..a59b5c9 100644
--- a/crunch-hbase/src/it/java/org/apache/crunch/io/hbase/WordCountHBaseIT.java
+++ b/crunch-hbase/src/it/java/org/apache/crunch/io/hbase/WordCountHBaseIT.java
@@ -180,6 +180,12 @@ public class WordCountHBaseIT {
       jarUp(jos, baseDir, prefix + "WordCountHBaseIT$1.class");
       jarUp(jos, baseDir, prefix + "WordCountHBaseIT$2.class");
       jarUp(jos, baseDir, prefix + "WordCountHBaseIT$3.class");
+      jarUp(jos, baseDir, prefix + "WordCountHBaseIT$StringifyFn.class");
+      
+      // Now for the OutputFormat (doesn't get copied by default, apparently)
+      baseDir = new File("target/classes");
+      jarUp(jos, baseDir, prefix + "TableOutputFormat.class");
+      jarUp(jos, baseDir, prefix + "TableOutputFormat$TableRecordWriter.class");
       jos.close();
 
       Path target = new Path(tmpPath, "WordCountHBaseIT.jar");


Mime
View raw message