diff options
author | jerryshao <saisai.shao@intel.com> | 2013-10-12 15:02:57 +0800 |
---|---|---|
committer | jerryshao <saisai.shao@intel.com> | 2013-10-12 20:00:42 +0800 |
commit | c23cd72b4bbcbf5f615636095c69e9a2e39bfbdd (patch) | |
tree | 14a083addc11bef9eeac371c8f383dc0e1c439d5 /streaming/pom.xml | |
parent | dca80094d317363e1e0d7e32bc7dfd99faf943cf (diff) | |
download | spark-c23cd72b4bbcbf5f615636095c69e9a2e39bfbdd.tar.gz spark-c23cd72b4bbcbf5f615636095c69e9a2e39bfbdd.tar.bz2 spark-c23cd72b4bbcbf5f615636095c69e9a2e39bfbdd.zip |
Upgrade Kafka 0.7.2 to Kafka 0.8.0-beta1 for Spark Streaming
Diffstat (limited to 'streaming/pom.xml')
-rw-r--r-- | streaming/pom.xml | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/streaming/pom.xml b/streaming/pom.xml index 3b25fb49fb..14c043175d 100644 --- a/streaming/pom.xml +++ b/streaming/pom.xml @@ -32,10 +32,16 @@ <url>http://spark.incubator.apache.org/</url> <repositories> - <!-- A repository in the local filesystem for the Kafka JAR, which we modified for Scala 2.9 --> <repository> - <id>lib</id> - <url>file://${project.basedir}/lib</url> + <id>apache-repo</id> + <name>Apache Repository</name> + <url>https://repository.apache.org/content/repositories/releases</url> + <releases> + <enabled>true</enabled> + </releases> + <snapshots> + <enabled>false</enabled> + </snapshots> </repository> </repositories> @@ -56,9 +62,18 @@ </dependency> <dependency> <groupId>org.apache.kafka</groupId> - <artifactId>kafka</artifactId> - <version>0.7.2-spark</version> <!-- Comes from our in-project repository --> - <scope>provided</scope> + <artifactId>kafka_2.9.2</artifactId> + <version>0.8.0-beta1</version> + <exclusions> + <exclusion> + <groupId>com.sun.jmx</groupId> + <artifactId>jmxri</artifactId> + </exclusion> + <exclusion> + <groupId>com.sun.jdmk</groupId> + <artifactId>jmxtools</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.apache.flume</groupId> @@ -72,11 +87,6 @@ </exclusions> </dependency> <dependency> - <groupId>com.github.sgroschupf</groupId> - <artifactId>zkclient</artifactId> - <version>0.1</version> - </dependency> - <dependency> <groupId>org.twitter4j</groupId> <artifactId>twitter4j-stream</artifactId> <version>3.0.3</version> |