Author: frankscholten
Date: Thu May 10 19:29:24 2012
New Revision: 1336843
URL: http://svn.apache.org/viewvc?rev=1336843&view=rev
Log:
WHIRR-582. Yarn service does not build in IntelliJ because of missing Hadoop
test dependencies (Frank Scholten)
Modified:
whirr/trunk/CHANGES.txt
whirr/trunk/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java
whirr/trunk/services/yarn/pom.xml
Modified: whirr/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/whirr/trunk/CHANGES.txt?rev=1336843&r1=1336842&r2=1336843&view=diff
==============================================================================
--- whirr/trunk/CHANGES.txt (original)
+++ whirr/trunk/CHANGES.txt Thu May 10 19:29:24 2012
@@ -92,6 +92,8 @@ Trunk (unreleased changes)
BUG FIXES
+ WHIRR-582. Yarn service does not build in IntelliJ because of missing
Hadoop test dependencies (Frank Scholten)
+
WHIRR-555. Fix java install script: $(...) -> `...` (kve)
WHIRR-473. HadoopServiceController.getInstance(String config) does
Modified:
whirr/trunk/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java
URL:
http://svn.apache.org/viewvc/whirr/trunk/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java?rev=1336843&r1=1336842&r2=1336843&view=diff
==============================================================================
---
whirr/trunk/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java
(original)
+++
whirr/trunk/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java
Thu May 10 19:29:24 2012
@@ -30,6 +30,7 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
+import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
@@ -39,13 +40,13 @@ import static org.junit.Assert.assertTru
public class CdhHBaseServiceTest {
- private static final byte[] FIRST = Bytes.toBytes("");
- private static final byte[] TABLE = Bytes.toBytes("testtable");
- private static final byte[] ROW = Bytes.toBytes("testRow");
- private static final byte[] FAMILY1 = Bytes.toBytes("testFamily1");
- private static final byte[] FAMILY2 = Bytes.toBytes("testFamily2");
- private static final byte[] COLUMN = Bytes.toBytes("testFamily1:testColumn");
- private static final byte[] VALUE = Bytes.toBytes("testValue");
+ private static final ByteBuffer FIRST = ByteBuffer.wrap(Bytes.toBytes(""));
+ private static final ByteBuffer TABLE =
ByteBuffer.wrap(Bytes.toBytes("testtable"));
+ private static final ByteBuffer ROW =
ByteBuffer.wrap(Bytes.toBytes("testRow"));
+ private static final ByteBuffer FAMILY1 =
ByteBuffer.wrap(Bytes.toBytes("testFamily1"));
+ private static final ByteBuffer FAMILY2 =
ByteBuffer.wrap(Bytes.toBytes("testFamily2"));
+ private static final ByteBuffer COLUMN =
ByteBuffer.wrap(Bytes.toBytes("testFamily1:testColumn"));
+ private static final ByteBuffer VALUE =
ByteBuffer.wrap(Bytes.toBytes("testValue"));
private static HBaseServiceController controller =
HBaseServiceController.getInstance("whirr-hbase-cdh-test.properties");
Modified: whirr/trunk/services/yarn/pom.xml
URL:
http://svn.apache.org/viewvc/whirr/trunk/services/yarn/pom.xml?rev=1336843&r1=1336842&r2=1336843&view=diff
==============================================================================
--- whirr/trunk/services/yarn/pom.xml (original)
+++ whirr/trunk/services/yarn/pom.xml Thu May 10 19:29:24 2012
@@ -89,7 +89,19 @@
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-client</artifactId>
+ <artifactId>hadoop-common</artifactId>
+ <version>0.23.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-mapreduce-client-core</artifactId>
+ <version>0.23.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hadoop</groupId>
+ <artifactId>hadoop-hdfs</artifactId>
<version>0.23.1</version>
<scope>test</scope>
</dependency>