use hadoop cdh4-4.1.1 and protobuf 2.4.0

This commit is contained in:
Jan Rudert 2013-08-01 17:27:33 +02:00
parent bba83ec532
commit 31c048ccb6
6 changed files with 695 additions and 1012 deletions

View File

@ -16,7 +16,8 @@ VERSION=`cat pom.xml | grep version | head -4 | tail -1 | sed 's_.*<version>\([^
echo Using Version[${VERSION}]
mvn clean
mvn package
#mvn install -U
mvn install -U -DskipTests
if [ $? -ne "0" ]; then
echo "mvn package failed"

View File

@ -82,7 +82,6 @@
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.5.0</version>
</dependency>

View File

@ -77,7 +77,11 @@
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<artifactId>hadoop-client</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>

21
pom.xml
View File

@ -145,8 +145,19 @@
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>0.20.2</version>
<artifactId>hadoop-client</artifactId>
<version>2.0.0-mr1-cdh4.1.1</version>
<exclusions>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api-2.5</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
<version>2.0.0-cdh4.1.1</version>
<exclusions>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
@ -325,6 +336,12 @@
<artifactId>lz4</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.4.0a</version>
</dependency>
<!-- Test Scope -->

View File

@ -170,8 +170,13 @@
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<artifactId>hadoop-client</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
</dependency>
<!-- Dependencies required for jets3t b/c emr pom doesn't include them -->
<dependency>