Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed a comparison logic from containing 'log4j' to starting with '…
…org.apache.*log4j'
  • Loading branch information
jongyoul committed Mar 23, 2018
commit 2ea9b7a58279d0e5d7cdfad8d67ab9227983be1a
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ private[hive] class IsolatedClientLoader(
name.startsWith("org.apache.hadoop.") && !name.startsWith("org.apache.hadoop.hive.")

name.startsWith("org.slf4j") ||
name.contains("log4j") ||
name.startsWith("org.apache.log4j") || // log4j1.x
name.startsWith("org.apache.logging.log4j") || // log4j2
name.startsWith("org.apache.spark.") ||
(sharesHadoopClasses && isHadoopClass) ||
name.startsWith("scala.") ||
Expand Down