Skip to content

Commit 6e0927c

Browse files
committed
all tests passing after spark3.2.1 upgrade
1 parent fe32ab4 commit 6e0927c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ lazy val testCoreDependencies = Seq(
103103
)
104104

105105
lazy val coreDependencies = (providedSparkDependencies ++ testCoreDependencies ++ Seq(
106-
"log4j" % "log4j" % "1.2.17",
106+
// "log4j" % "log4j" % "1.2.17",
107107
"org.slf4j" % "slf4j-api" % "1.7.25",
108108
"org.slf4j" % "slf4j-log4j12" % "1.7.25",
109109
"org.jdbi" % "jdbi" % "2.63.1",
110110
// Fix versions of libraries that are depended on multiple times
111-
"org.apache.hadoop" % "hadoop-client" % "2.7.3",
112-
"io.netty" % "netty" % "3.9.9.Final",
113-
"io.netty" % "netty-all" % "4.1.17.Final",
111+
"org.apache.hadoop" % "hadoop-client" % "3.3.1",
112+
// "io.netty" % "netty" % "3.9.9.Final",
113+
// "io.netty" % "netty-all" % "4.1.17.Final",
114114
"org.yaml" % "snakeyaml" % "1.16"
115115
)).map(_.exclude("com.google.code.findbugs", "jsr305"))
116116

src/test/scala/com/databricks/labs/smolder/SmolderBaseTest.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ abstract class SmolderBaseTest
2626

2727
protected implicit def spark: SparkSession = {
2828
val session = SparkSession.builder()
29-
.master("local[2]")
29+
.master("local[2]")
30+
.config("spark.driver.bindAddress","127.0.0.1") //Explicitly state this for Spark3.2.1
3031
.getOrCreate()
3132

3233
SparkSession.setActiveSession(session)

0 commit comments

Comments
 (0)