File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,17 @@ configurations {
1212 shadowDependencies
1313}
1414
15+ configurations. all {
16+ // By default, Spark 3.5.3 does not include the log4j 1.x dependency via its zookeeper dependency. But somehow, by
17+ // adding hadoop-client 3.3.4 to the mix, the log4j 1.x dependency comes via the zookeeper 3.6.3 dependency. Per
18+ // the release notes at https://zookeeper.apache.org/doc/r3.6.4/releasenotes.html, using zookeeper 3.6.4 - which
19+ // removes log4j 1.x, thus avoiding the major CVE associated with log4j 1.x - appears safe, which is confirmed by
20+ // tests as well.
21+ resolutionStrategy {
22+ force " org.apache.zookeeper:zookeeper:3.6.4"
23+ }
24+ }
25+
1526dependencies {
1627 implementation(" org.apache.spark:spark-sql_2.12:3.5.3" ) {
1728 // The rocksdbjni dependency weighs in at 50mb and so far does not appear necessary for our use of Spark.
You can’t perform that action at this time.
0 commit comments