Skip to content

Commit

Permalink
change testHadoopVersion from 2.2.0 to 2.6.0
Browse files Browse the repository at this point in the history
add hadoop-aws to dependencies
  • Loading branch information
binglihub committed Jan 11, 2018
1 parent 6289c1f commit c0fae24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions project/SparkSnowflakeBuild.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ object SparkSnowflakeBuild extends Build {
crossScalaVersions := Seq("2.10.5", "2.11.7"),
sparkVersion := "2.2.0",
testSparkVersion := sys.props.get("spark.testVersion").getOrElse(sparkVersion.value),
testHadoopVersion := sys.props.get("hadoop.testVersion").getOrElse("2.2.0"),
testHadoopVersion := sys.props.get("hadoop.testVersion").getOrElse("2.6.0"),
javacOptions ++= Seq("-source", "1.6", "-target", "1.6"),
spName := "snowflake/spark-snowflake",
sparkComponents ++= Seq("sql", "hive"),
Expand Down Expand Up @@ -95,7 +95,8 @@ object SparkSnowflakeBuild extends Build {
Seq(
"org.apache.hadoop" % "hadoop-client" % testHadoopVersion.value % "test" exclude("javax.servlet", "servlet-api") force(),
"org.apache.hadoop" % "hadoop-common" % testHadoopVersion.value % "test" exclude("javax.servlet", "servlet-api") force(),
"org.apache.hadoop" % "hadoop-common" % testHadoopVersion.value % "test" classifier "tests" force()
"org.apache.hadoop" % "hadoop-common" % testHadoopVersion.value % "test" classifier "tests" force(),
"org.apache.hadoop" % "hadoop-aws" % testHadoopVersion.value % "test" force()
)
}),
libraryDependencies ++= Seq(
Expand Down

0 comments on commit c0fae24

Please sign in to comment.