Permalink
Browse files

CRUNCH-11: Fix invalid package reference in the WordCountHBaseTest fo…

…r hadoop 2.0.0-based builds, contributed by Jakob Homan
  • Loading branch information...
1 parent b14a7d6 commit 91b4ac274c2c9b65769205ef4ae56240fbac085e jwills committed Jul 10, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 src/test/java/org/apache/crunch/WordCountHBaseTest.java
View
7 src/test/java/org/apache/crunch/WordCountHBaseTest.java
@@ -123,9 +123,10 @@ public void setUp() throws Exception {
// 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");

0 comments on commit 91b4ac2

Please sign in to comment.