-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.sbt
48 lines (35 loc) · 1.36 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name := "NYC_Taxi_Pipeline"
version := "1.0"
scalaVersion := "2.11.8"
val sparkVersion = "2.3.0"
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies ++= Seq(
// config
"com.typesafe" % "config" % "1.2.1",
"org.apache.spark" %% "spark-core" % "2.4.3",
"org.scalactic" %% "scalactic" % "3.1.0",
"org.apache.spark" %% "spark-sql" % "2.4.3",
"com.databricks" %% "spark-csv" % "1.4.0",
"com.amazonaws" % "aws-java-sdk" % "1.11.636",
"org.apache.hadoop" % "hadoop-aws" % "2.7.6",
// DB
"mysql" % "mysql-connector-java" % "8.0.19",
// spark stream
"org.apache.spark" %% "spark-streaming" % "2.4.3",
"org.apache.spark" %% "spark-sql-kafka-0-10" % "2.4.3",
// "org.apache.spark" % "spark-streaming-kafka-0-8_2.11" % "2.2.1",
// "org.apache.spark" %% "spark-streaming-kinesis-asl" % "2.2.1",
// "org.apache.bahir" %% "spark-streaming-twitter" % "2.3.1",
// "com.danielasfregola" %% "twitter4s" % "6.1"
// others
"org.apache.commons" % "commons-text" % "1.8",
// test
"org.scalatest" %% "scalatest" % "3.1.1" % "test"
)
conflictManager := ConflictManager.latestRevision
//mainClass := Some("ETLdev.CollectValueZonesEMR")
//mainClass := Some("sparkhelloworld.SparkProcessGameRDD")
// assemblyMergeStrategy in assembly := {
// case PathList("META-INF", xs @ _*) => MergeStrategy.discard
// case x => MergeStrategy.first
// }