crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject git commit: CRUNCH-11: Fix invalid package reference in the WordCountHBaseTest for hadoop 2.0.0-based builds, contributed by Jakob Homan
Date Tue, 10 Jul 2012 22:48:30 GMT
Updated Branches:
  refs/heads/master b14a7d62c -> 91b4ac274


CRUNCH-11: Fix invalid package reference in the WordCountHBaseTest for hadoop 2.0.0-based
builds, contributed by Jakob Homan


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

Branch: refs/heads/master
Commit: 91b4ac274c2c9b65769205ef4ae56240fbac085e
Parents: b14a7d6
Author: jwills <jwills@apache.org>
Authored: Tue Jul 10 15:48:09 2012 -0700
Committer: jwills <jwills@apache.org>
Committed: Tue Jul 10 15:48:09 2012 -0700

----------------------------------------------------------------------
 .../java/org/apache/crunch/WordCountHBaseTest.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-crunch/blob/91b4ac27/src/test/java/org/apache/crunch/WordCountHBaseTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/crunch/WordCountHBaseTest.java b/src/test/java/org/apache/crunch/WordCountHBaseTest.java
index 0e79dab..10459ce 100644
--- a/src/test/java/org/apache/crunch/WordCountHBaseTest.java
+++ b/src/test/java/org/apache/crunch/WordCountHBaseTest.java
@@ -123,9 +123,10 @@ public class WordCountHBaseTest {
       // Create a programmatic container for this jar.
       JarOutputStream jos = new JarOutputStream(new FileOutputStream("WordCountHBaseTest.jar"));
       File baseDir = new File("target/test-classes");
-      jarUp(jos, baseDir, "com/cloudera/crunch/WordCountHBaseTest.class");
-      jarUp(jos, baseDir, "com/cloudera/crunch/WordCountHBaseTest$1.class");
-      jarUp(jos, baseDir, "com/cloudera/crunch/WordCountHBaseTest$2.class");
+      String prefix = "org/apache/crunch/";
+      jarUp(jos, baseDir, prefix + "WordCountHBaseTest.class");
+      jarUp(jos, baseDir, prefix + "WordCountHBaseTest$1.class");
+      jarUp(jos, baseDir, prefix + "WordCountHBaseTest$2.class");
       jos.close();
 
       Path target = new Path(tmpPath, "WordCountHBaseTest.jar");


Mime
View raw message