Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Switched to CDH4 MR1.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Jan 8, 2014
1 parent 67381bd commit 1763072
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 4 deletions.
4 changes: 4 additions & 0 deletions camus-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
</dependency>
</dependencies>


Expand Down
28 changes: 28 additions & 0 deletions camus-etl-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>kafka</groupId>
Expand Down Expand Up @@ -87,6 +93,28 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass></mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
6 changes: 6 additions & 0 deletions camus-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>

Expand Down
2 changes: 2 additions & 0 deletions camus-example/src/main/resources/org-xerial-snappy.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
org.xerial.snappy.use.systemlib=false
org.xerial.snappy.disable.bundled.libs=false
Binary file modified lib/kafka-0.8-SNAPSHOT.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/kafka-0.8-SNAPSHOT.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>kafka_2.10</artifactId>
<packaging>jar</packaging>
<description>kafka</description>
<version>0.8.0</version>
<version>0.8.1</version>
<name>kafka</name>
<organization>
<name>org.apache.kafka</name>
Expand Down
17 changes: 14 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,21 @@
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-core</artifactId>
<version>1.2.1</version>
<scope>provided</scope>
<version>2.0.0-mr1-cdh4.5.0</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>2.0.0-cdh4.5.0</version>
</dependency>
<dependency>
<groupId>kafka</groupId>
<artifactId>kafka</artifactId>
<version>0.8-SNAPSHOT</version>
<!--<exclusion>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
</exclusion>-->
</dependency>
<dependency>
<groupId>com.github.sgroschupf</groupId>
Expand Down Expand Up @@ -110,7 +118,6 @@
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
<version>1.0.4.1</version>
<scope>provided</scope>
</dependency>

</dependencies>
Expand Down Expand Up @@ -148,6 +155,10 @@
<id>apache-releases</id>
<url>https://repository.apache.org/content/groups/public</url>
</repository>
<repository>
<id>cloudera</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
</repository>
</repositories>

<build>
Expand Down

0 comments on commit 1763072

Please sign in to comment.