Created
June 3, 2015 15:08
-
-
Save dokipen/17aa716c42a0645c57a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Change hadoop version to your liking, don't include kinesis-acl profile unless you are using aws kinesis | |
| $ git clone git@github.com:apache/spark | |
| $ cd spark | |
| $ mvn -DskipTests=true -Dhadooop.version=2.6.0 -Phadoop-2.6,kinesis-asl clean package install | |
| # In my build.sbt: | |
| [..snip..] | |
| val sparkVersion = "1.4.0" | |
| val hadoopVersion = "2.6.0" | |
| libraryDependencies += "org.apache.spark" %% "spark-core" % sparkVersion % "provided" | |
| libraryDependencies += "org.apache.hadoop" % "hadoop-client" % hadoopVersion % "provided" | |
| libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.1" % "test" | |
| libraryDependencies += "org.apache.spark" %% "spark-streaming" % sparkVersion % "provided" | |
| libraryDependencies += "org.apache.spark" %% "spark-streaming-kinesis-asl" % sparkVersion | |
| libraryDependencies += "com.amazonaws" % "amazon-kinesis-client" % "1.2.0" % "provided" | |
| [..snip..] | |
| resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository" | |
| [..snip..] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment