You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by fr...@apache.org on 2012/05/10 21:43:22 UTC
svn commit: r1336854 - in /whirr/branches/branch-0.7: CHANGES.txt pom.xml
services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java
services/yarn/pom.xml
Author: frankscholten
Date: Thu May 10 19:43:21 2012
New Revision: 1336854
URL: http://svn.apache.org/viewvc?rev=1336854&view=rev
Log:
WHIRR-582. Yarn service does not build in IntelliJ because of missing Hadoop test dependencies.
Modified:
whirr/branches/branch-0.7/CHANGES.txt
whirr/branches/branch-0.7/pom.xml
whirr/branches/branch-0.7/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java
whirr/branches/branch-0.7/services/yarn/pom.xml
Modified: whirr/branches/branch-0.7/CHANGES.txt
URL: http://svn.apache.org/viewvc/whirr/branches/branch-0.7/CHANGES.txt?rev=1336854&r1=1336853&r2=1336854&view=diff
==============================================================================
--- whirr/branches/branch-0.7/CHANGES.txt (original)
+++ whirr/branches/branch-0.7/CHANGES.txt Thu May 10 19:43:21 2012
@@ -38,6 +38,8 @@ Release 0.7.2
BUG FIXES
+ WHIRR-582. Yarn service does not build in IntelliJ because of missing Hadoop test dependencies (Frank Scholten)
+
WHIRR-570. Site generation fails for YARN. (tomwhite)
WHIRR-572. Ensure ZooKeeper data directories are created. (tomwhite)
Modified: whirr/branches/branch-0.7/pom.xml
URL: http://svn.apache.org/viewvc/whirr/branches/branch-0.7/pom.xml?rev=1336854&r1=1336853&r2=1336854&view=diff
==============================================================================
--- whirr/branches/branch-0.7/pom.xml (original)
+++ whirr/branches/branch-0.7/pom.xml Thu May 10 19:43:21 2012
@@ -224,7 +224,7 @@
<version>2.2.2</version>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
- <tarLongFileFormat>gnu</tarLongFileFormat>
+ <tarLongFileMode>gnu</tarLongFileMode>
<descriptors>
<descriptor>build-tools/src/assemble-bin.xml</descriptor>
</descriptors>
@@ -571,7 +571,7 @@
<configuration>
<appendAssemblyId>true</appendAssemblyId>
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
- <tarLongFileFormat>gnu</tarLongFileFormat>
+ <tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</execution>
</executions>
Modified: whirr/branches/branch-0.7/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java
URL: http://svn.apache.org/viewvc/whirr/branches/branch-0.7/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java?rev=1336854&r1=1336853&r2=1336854&view=diff
==============================================================================
--- whirr/branches/branch-0.7/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java (original)
+++ whirr/branches/branch-0.7/services/cdh/src/test/java/org/apache/whirr/service/cdh/integration/CdhHBaseServiceTest.java Thu May 10 19:43:21 2012
@@ -37,15 +37,16 @@ import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
+import java.nio.ByteBuffer;
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/branches/branch-0.7/services/yarn/pom.xml
URL: http://svn.apache.org/viewvc/whirr/branches/branch-0.7/services/yarn/pom.xml?rev=1336854&r1=1336853&r2=1336854&view=diff
==============================================================================
--- whirr/branches/branch-0.7/services/yarn/pom.xml (original)
+++ whirr/branches/branch-0.7/services/yarn/pom.xml Thu May 10 19:43:21 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>