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
Next Next commit
Changed a comparison logic from containing 'slf4j' to starting with '…
…org.slf4j'
  • Loading branch information
jongyoul committed Mar 20, 2018
commit 192ce305f05d4280c5c35b94a3666d313dab2733
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private[hive] class IsolatedClientLoader(
val isHadoopClass =
name.startsWith("org.apache.hadoop.") && !name.startsWith("org.apache.hadoop.hive.")

name.contains("slf4j") ||
name.startsWith("org.slf4j") ||
name.contains("log4j") ||
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need the same for "log4j"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, It looks like a similar issue. I'll add it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

name.startsWith("org.apache.spark.") ||
(sharesHadoopClasses && isHadoopClass) ||
Expand Down